|
Command: |
! |
|
Syntax: |
|
|
Description: |
Go back
to DOS or Windows/Exit FTP |
|
Example: |
|
|
|
|
|
Command: |
? |
|
Syntax: |
|
|
Description: |
Display
FTP Client help. |
|
Example: |
|
|
Command: |
append |
|
Syntax: |
|
|
Description: |
Appends
the contents of source-filename to destination-filename. |
|
Example: |
|
|
Command: |
ascii |
|
Syntax: |
|
|
Description: |
Set
transfer mode to ascii text mode. You need to specify this before
transferring text based files (HTML, text, etc). |
|
Example: |
|
|
Command: |
bell |
|
Syntax: |
|
|
Description: |
Turn on
or off bell mode. When bell mode is on, a bell will sound when a command is
finished executing. |
|
Example: |
|
|
Command: |
binary |
|
Syntax: |
|
|
Description: |
Set
transfer mode to binary. A binary file is any besides a text based file.
Graphics, audio, video, several wordprocessor files, etc are usually binary
files. |
|
Example: |
|
|
Command: |
bye |
|
Syntax: |
|
|
Description: |
Quit FTP
and go back to DOS or Windows |
|
Example: |
|
|
Command: |
cd |
|
Syntax: |
|
|
Description: |
Change
remote directory. This is the directory on the server. |
|
Example: |
|
|
Command: |
close |
|
Syntax: |
|
|
Description: |
Terminates
current FTP connection, but does not exit to DOS/Windows. You can actually
use the open command to open another connection. |
|
Example: |
|
|
Command: |
delete |
|
Syntax: |
|
|
Description: |
Delete a
file on the server. |
|
Example: |
|
|
Command: |
debug |
|
Syntax: |
|
|
Description: |
Turn
on/off debugging mode. When debugging mode is on, commands to the server are
echoed while they are being executed. |
|
Example: |
|
|
Command: |
dir |
|
Syntax: |
|
|
Description: |
First
syntax gives the listing of the current remote (server) directory. The second
syntax gives the directory listing for the specified directory-name on
the server. |
|
Example: |
|
|
Command: |
disconnect |
|
Syntax: |
|
|
Description: |
Terminates
current FTP connection, but does not exit to DOS/Windows. You can actually
use the open command to open another connection. It basically does the same
thing as the close command. |
|
Example: |
|
|
Command: |
get |
|
Syntax: |
|
|
Description: |
Retrieve
a file from the server. The file will be saved to the current local directory
(your computer). The first syntax will retrieve the source-file-name from the
server and save the file with the same to the local computer. The second
syntax will allow you to specify the name of the saved file on your
harddrive. |
|
Example: |
|
|
Command: |
help |
|
Syntax: |
|
|
Description: |
Does the
same thing as ? |
|
Example: |
|
|
Command: |
lcd |
|
Syntax: |
|
|
Description: |
Change
local working directory (your computer). First syntax simply returns the name
of the current local directory. The second syntax will change the local
working directory to the specified directory-name. |
|
Example: |
|
|
Command: |
mdelete |
|
Syntax: |
|
|
Description: |
Delete
multiple files. You can list all the files you want to delete -- each
filename must be separated by a single space. File names can contain wild
characters for matching a large number of files. NOTE: If you have prompt
turned on, then it |
|
Example: |
|
|
Command: |
mget |
|
Syntax: |
|
|
Description: |
Retrieve
multiple files. You can list all the files you want to retrieve -- each file
name must be separated by a single space. File names can contain wild
characters for matching a large number of files. The files will be saved with
the same name on the local computer in the current local working directory.
NOTE: If prompt is turned on, FTP will ask you to confirm each file to
retrieve. |
|
Example: |
|
|
Command: |
mkdir |
|
Syntax: |
|
|
Description: |
Creates a
directory on the server (remote computer). |
|
Example: |
|
|
Command: |
mput |
|
Syntax: |
|
|
Description: |
Send
(upload) multiple files. You can list all the files you want to send -- each
file name must be separated by a single space. File names can contain wild
characters for matching a large number of files. The files will be saved with
the same name on the remote computer in the current working directory. NOTE:
If prompt is turned on, FTP will ask you to confirm each file to send. |
|
Example: |
|
|
Command: |
open |
|
Syntax: |
|
|
Description: |
Open an
FTP session (connection). The first syntax will prompt you for the
ftp-server-name, while they second syntax specifies this information in the
command. |
|
Example: |
|
|
Command: |
prompt |
|
Syntax: |
|
|
Description: |
Turns
on/off prompting for multiple commands (mput, mget, mdelete). Default action
is on. This means that FTP will ask you to confirm each file that being
deleted, sent, or recieved by mdelete, mput, and mget commands
(respectively). |
|
Example: |
|
|
Command: |
put |
|
Syntax: |
|
|
Description: |
Sends or
uploads one file. The first syntax will send the source-file from the
local current directory (your computer) to the current working remote
directory (server) and save the file with the same name. The second syntax
does the same except it will save the file as destination-file on the
server. This is like uploading the file and then renaming it on the server in
one command. |
|
Example: |
|
|
Command: |
pwd |
|
Syntax: |
|
|
Description: |
Print
Working Directory. This displays the path or directory of the current working
directory on the remote computer (server). The current working directory is
the directory that all file transfer commands (get, put, send, recv, delete,
mput, mget, mdelete) work with (or in relation to). |
|
Example: |
|
|
Command: |
quit |
|
Syntax: |
|
|
Description: |
Terminate
current FTP session and go back to DOS or Windows. Does the same thing as the
! command. |
|
Example: |
|
|
Command: |
recv |
|
Syntax: |
|
|
Description: |
Recieves
one file. Does the same thing as the get command. |
|
Example: |
|
|
Command: |
rename |
|
Syntax: |
|
|
Description: |
Renames a
file from old-filename to new-filename on the remote computer
(server). |
|
Example: |
|
|
Command: |
rmdir |
|
Syntax: |
|
|
Description: |
Remove
(delete) a directory on the remote computer (server). This requires that the
directory first be empty (no files within the directory) before it can be
removed. |
|
Example: |
|
|
Command: |
send |
|
Syntax: |
|
|
Description: |
Sends one
file to the server. Does the same thing as the put command. |
|
Example: |
|