When you type “help” you get a list of commands that you can run
COMMAND |
DESCRIPTION |
|
? |
To request help or information about the FTP commands ![]() |
|
ascii |
To set the mode of file transfer to ASCII (this is the default and transmits seven bits per character)
|
|
binary |
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) |
|
bye |
To exit the FTP environment (same as quit) |
|
cd |
To change directory on the remote machine |
|
close |
To terminate a connection with another computer
|
|
delete |
To delete (remove) a file in the current remote directory (same as rm in UNIX) ![]() |
|
get |
to copy one file from the remote machine to the local machine | |
help |
To request a list of all available FTP commands ![]() |
|
lcd |
To change directory on your local machine (same as UNIX cd)![]() |
|
ls |
To list the names of the files in the current remote directory ![]() |
|
Dir |
To list remote directory
|
|
mkdir |
To make a new directory within the current remote directory ![]() |
|
mget |
To copy multiple files from the remote machine to the local machine; you are prompted for a y/n answer before transferring each file |
|
mget * |
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, *. |
|
Prompt |
To turn on/off interactive mode. Which helps turn off prompt for y/n during mget or mput
|
|
mput |
To copy multiple files from the local machine to the remote machine; you are prompted for a y/n answer before transferring each file. mput * copies all the files in the specified or current local directory to your current remote directory, using the same filenames. Notice the use of the wildcard character, *. Also *.filepath copies everything in the specified or current local directory with a specific filepath into the remote directory. ![]() |
|
open |
To open a connection with another computer.
|
Reference links:
Using the command line to connect to HostedFTP