Common FTP Commands

Basic FTP Commands

原文:http://www.cs.colostate.edu/helpdocs/ftp.html

Common FTP Commands

? ascii binary bye cd close close brubeck delete get get ABC DEF get ABC help lcd ls mkdir mget mget * mput open open brubeck put pwd quit rmdir
to request help or information about the FTP commands
to set the mode of file transfer to ASCII
(this is the default and transmits seven bits per character)
to set the mode of file transfer to binary
(the binary mode transmits all eight bits per byte and thus provides less chance of a transmission error and must be used to transmit files other than ASCII files)
to exit the FTP environment (same as quit)
to change directory on the remote machine
to terminate a connection with another computer
closes the current FTP connection with brubeck,
but still leaves you within the FTP environment.
to delete (remove) a file in the current remote directory (same as rm in UNIX)
to copy one file from the remote machine to the local machine
copies file ABC in the current remote directory to (or on top of) a file named DEF in your current local directory.
copies file ABC in the current remote directory to (or on top of) a file with the same name, ABC, in your current local directory.
to request a list of all available FTP commands
to change directory on your local machine (same as UNIX cd)
to list the names of the files in the current remote directory
to make a new directory within the current remote directory
to copy multiple files from the remote machine to the local machine;
you are prompted for a y/n answer before transferring each file
copies all the files in the current remote directory to your current local directory, using the same filenames. Notice the use of the wild card character, *.
to copy multiple files from the local machine to the remote machine;
you are prompted for a y/n answer before transferring each file
to open a connection with another computer
opens a new FTP connection with brubeck;
you must enter a username and password for a brubeck account
(unless it is to be an anonymous connection).
to copy one file from the local machine to the remote machine
to find out the pathname of the current directory on the remote machine
to exit the FTP environment (same as bye)
to to remove (delete) a directory in the current remote directory

你可能感兴趣的:(command)