ftp

The ftp utility prompts the user for a command after the user is connected to a host. Table A.2 lists some useful ftp commands.

Useful ftp Commands 
CommandMeaning
asciiSet the file transfer type to ASCII (use when transferring HTML files between Linux and Windows systems)
binarySet the file transfer type to binary
byeEnd the FTP session and close the ftp utility
cd remote-directoryChange the working directory on the remote machine
cdupChange to the parent directory of the remote directory
delete remote-fileDelete a remote file
get remote-fileRetrieve a remote file
help commandDisplay help for the command; if no command is used, show help for all commands
lcd directoryChange the directory on the local machine
ls remote-directoryDisplay the contents of a remote directory
mget remote-filesGet remote files based on a wildcard expression
mkdir dir-nameCreate (make) a directory on the remote machine
mput local-filesUpload local files based on a wildcard specification
open hostOpen an FTP connection to the specified host
put local-fileUpload a file to the remote machine
pwdDisplay the current directory on the remote machine
systemDisplay the operating system running on the remote machine
user username [password]Identify yourself to the remote FTP server if you need to change to a new user ID

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.144.244.250