The File Transfer Protocol (FTP) enables you to transfer files between a client host system and a remote server host system. On the client system, a file transfer program provides a user interface to the FTP; on the server, the requests are handled by the FTP daemon, ftpd.
WU-FTPD 2.6.1 for HP-UX 11i v2 is an HP implementation of the FTP daemon based on the replacement FTP daemon developed at Washington University.
The ftp command is a user interface to the File Transfer Protocol. ftp copies the files over a network connection between the local client host and a remote server host. ftp runs on the client host.
Table 1-6 describes the ftp command options.
Table 1-6 ftp Options
| Option | Description |
|---|
| -g | Disables file name globbing. |
| -i | Disables interactive prompting by multiple file commands. |
| -n | Disables auto-login. |
| -c | If you set this option, the SYST and TYPE calls are not made by the ftp client to the server upon establishing a connection. |
| -v | Enables verbose output. |
| -p | Enables passive mode of operation. |
-P | Disables Kerberos authentication and authorization. |
| -l | Enables the use of LPRT and LPSV commands for data connection, in an IPv6 environment. |
| -B | Sets the buffer size of the data socket to the block size (1024 bytes). |
You can set the fallback option in the /etc/krb5.conf file within the appdefaults section to fall back to the normal mode when the Kerberos authentication fails. When the fallback option is set to true and the Kerberos authentication fails, ftp uses the non-secure mode of authentication.
Normally, inetd invokes the ftp daemon, ftpd. However, you can also run ftpd in a standalone mode by using the ftpd options -s or -S. For more information, type man 1M ftpd at the HP-UX prompt.
For detailed information on the ftp command, type man 1 ftp at the HP-UX prompt. See “Configuring FTP” for information on configuring FTP.