Friday 16 April 2010

ftp

FTP (File Transfer Protocol) is the most widely used file-transfer mechanism. First defined in RFC 959, FTP runs on port 21. To use FTP to send or receive files, your systems must meet the following requirements:
The client computer must have FTP client software.
The user must have a user name and password on the remote system. In many cases, a user name of anonymous with no password is used.
The remote system must be running an FTP daemon (Unix, VMS, etc.) or service (Windows NT/2000, etc.).
Both systems must be running the TCP/IP protocol.
Figure 8.1 shows an FTP utility (WS_FTP Pro) that can transfer files between remote and local locations.
You can use FTP in either a command-line mode or a command-interpreter mode. The following options are available from the command line:
-a—Use any local interface when binding data connections.
-d—Enables debugging.
-g—Disables file-name globbing (globbing permits the use of wildcard characters such as the asterisk and question mark in local file or path names).
-i—Turns off interactive prompting during multiple file transfers.
-n—Suppresses auto-login upon initial connection.
-s:filename—Specifies a text file containing FTP commands; the commands will automatically run after FTP starts.
-v—Suppresses the display of remote server responses.
-w:buffersize—Overrides the default transfer buffer size of 4096K.

No comments:

Post a Comment