Networking, Programming and Graphics Tutorials

MS Windows command line FTP client [2/2]

Here are some of the often used command line FTP commands listed in alphabetical order.


ftp> ?
Displays descriptions for ftp commands. ? is identical to help.

Usage:? {command}

Parameters explanation:
command - Specifies the name of the command about which you want a description. If command is not specified, ftp displays a list of all commands.
-----

ftp> bye
Ends the FTP session with the remote host and exits ftp.

Usage:bye
-----
ftp> cd
Changes the working folder on the remote host.

Usage:cd remote-folder

Parameters explanation:
remote-folder - Specifies the folder on the remote host to change to.
-----
ftp> close
Ends the FTP session with the remote server and returns to the command interpreter.

Usage:close
-----
ftp> delete
Deletes a single file on a remote host.

Usage:delete remote_file

Parameters explanation:
remote_file - Specifies the file to delete.
-----
ftp> dir
Displays a list of a remote folder's files and subdirectories.

Usage:dir {remote-folder} {local-file}

Parameters explanation:
remote-folder - Specifies the folder for which you want to see a listing. If no folder is specified, the current working folder on the remote host is used.
local_file - Specifies a local file to store the listing. If not specified, output is displayed on the screen.
-----
ftp> disconnect
Disconnects from the remote host, retaining the ftp prompt.

Usage:disconnect
-----
ftp> get
Copies a remote file to the local .

Usage:get remote_file {local-file}

Parameters explanation:
remote_file
Specifies the remote file to copy.
local-file
Specifies the name to use on the local host. If not specified, the file is given the remote_file name.
-----
ftp> help
Displays descriptions for ftp commands.

Usage:help {command}

Parameters explanation:
command - Specifies the name of the command about which you want a description. If command is not specified, ftp displays a list of all commands.
-----
ftp> ls
Displays an abbreviated list of a remote folder's files and subdirectories.

Usage:ls {remote-folder} {local-file}

Parameters explanation:
remote-folder - Specifies the folder for which you want to see a listing. If no folder is specified, the current working folder on the remote host is used.
local_file - Specifies a local file to store the listing. If not specified, output is displayed on the screen.
-----
ftp> open
Connects to the specified FTP server.

Usage:open host {port}

Parameters explanation:
host - Specifies the remote host to connect to. Host can be specified by IP address or host name (a DNS or HOSTS file must be available). If auto-login is on (default), FTP also attempts to automatically log the user in to the FTP server (see Ftp command-line options to disable auto-login).
port - Specifies a port number to use to contact an FTP server.
-----
ftp> put
Copies a local file to the remote host .

Usage:put local_file {remote_file}

Parameters explanation:
local_file - Specifies the local file to copy.
remote_file - Specifies the name to use on the remote host. If not specified, the file is given the local_file name.
-----
ftp> pwd
Displays the current folder on the remote host.

Usage:pwd
-----
ftp> quit
Ends the FTP session with the remote host and exits ftp.
Usage:quit
-----
ftp> remotehelp
Displays help for remote commands.

Usage:remotehelp {command}

Parameters explanation:
command - Specifies the name of the command about which you want help. If command is not specified, ftp displays a list of all remote commands.
-----
ftp> rename
Renames remote files.

Usage:rename filename newfilename

Parameters explanation:
filename - Specifies the file you want to rename.
newfilename - Specifies the new filename.
-----
ftp> rmdir
Deletes a remote folder.

Usage:rmdir folder

Parameters explanation:
folder - Specifies the name of the remote folder to delete.
-----

Rate this tutorial:                    
Networking, Programming and Graphics Tutorials - MS Windows command line FTP client [2/2] - Networking, Programming and Graphics Tutorials

Need a specific tutorial? Do not hesitate and submit a request!
Related Tags: command line ftp client windows  free command line ftp client for windows  windows command line linux hostname -i command  "windows command line ftp"  windows command line ftp get *  windows ftp command line  The Windows Command-Line FTP  windows command line ftp  ftp Windows command line  windows ftp command line  ftp command line windows  ftp put line command windows  "FTP Command line Windows"  windows command line ftp put folder  windows command line ftp & folders  ftpput windows command line  windows command line copy to ftp  "remote folder" "windows command line"  windows command line hash mark  windows command-line ftp multiple files