Microsoft Windows Command- Line FTP Command List. You are on the nsftools. This is a list of the commands available when using the Microsoft Windows command- line FTP client (requires TCP/IP to be installed).
JKYZ To find information about a command, on the A-Z button menu at the top of this page, click the letter that the command starts with, and then click the command name. List of FTP commands for the Microsoft command-line FTP client Command-line options As you're starting the program from a DOS prompt: ftp [-v] [-d] [-i] [-n] [-g] [-s. 1.2 Command Line Options. nano takes the following options from the command line: +LINE,COLUMN Start at line number LINE and column number COLUMN (at least one of. Essential DOS Commands and Concepts. Backup Files; Change the Default Drive; CHDIR (CD) Change Directory Command; COPY Command; DIR (Directory) Command.
All information is from the Windows NT help files. If you need to use the "raw" FTP commands instead of these interpreted commands (for example, if you're writing your own FTP client), please consult this list instead. Command- line options.
Helping you with DOS and explaining all DOS commands and examples on how to use them as well as other computer information. MS-DOS COMMAND : update 2011/1/9 Index. MS-DOSコマンド一覧. MS-DOSとは? MS-DOSの動作環境.
As you're starting the program from a DOS prompt: ftp [- v] [- d] [- i] [- n] [- g] [- s: filename] [- a] [- w: windowsize] [computer]- v - Suppresses verbose display of remote server responses.- n - Suppresses auto- login upon initial connection.- i - Turns off interactive prompting during multiple file transfers.- d - Enables debugging, displaying all ftp commands passed between the client and server.- g - Disables filename globbing, which permits the use of wildcard chracters in local file and path names.- s: filename - Specifies a text file containing ftp commands; the commands will automatically run after ftp starts. No spaces are allowed in this parameter.
Use this switch instead of redirection (>.- a - Use any local interface when binding data connection.- w: windowsize - Overrides the default transfer buffer size of 4. Specifies the computer name or IP address of the remote computer to connect to. The computer, if specified, must be the last parameter on the line. Client commands! - Runs the specified command on the local computer? Displays descriptions for ftp commandsappend - Appends a local file to a file on the remote computerascii - Sets the file transfer type to ASCII, the defaultbell - Toggles a bell to ring after each file transfer command is completed (default = OFF)binary - Sets the file transfer type to binarybye - Ends the FTP session and exits ftpcd - Changes the working directory on the remote computerclose - Ends the FTP session and returns to the command interpreterdebug - Toggles debugging (default = OFF)delete - Deletes a single file on a remote computerdir - Displays a list of a remote directory's files and subdirectories.
Disconnects from the remote computer, retaining the ftp promptget - Copies a single remote file to the local computerglob - Toggles filename globbing (wildcard characters) (default = ON)hash - Toggles hash- sign (#) printing for each data block transferred (default = OFF)help - Displays descriptions for ftp commandslcd - Changes the working directory on the local computerliteral - Sends arguments, verbatim, to the remote FTP serverls - Displays an abbreviated list of a remote directory's files and subdirectoriesmdelete - Deletes one or more files on a remote computermdir - Displays a list of a remote directory's files and subdirectoriesmget - Copies one or more remote files to the local computermkdir - Creates a remote directorymls - Displays an abbreviated list of a remote directory's files and subdirectoriesmput - Copies one or more local files to the remote computeropen - Connects to the specified FTP serverprompt - Toggles prompting (default = ON)put - Copies a single local file to the remote computerpwd - Displays the current directory on the remote computer (literally, "print working directory")quit - Ends the FTP session with the remote computer and exits ftp (same as "bye")quote - Sends arguments, verbatim, to the remote FTP server (same as "literal")recv - Copies a remote file to the local computerremotehelp - Displays help for remote commandsrename - Renames remote filesrmdir - Deletes a remote directorysend - Copies a local file to the remote computer (same as "put")status - Displays the current status of FTP connectionstrace - Toggles packet tracing (default = OFF)type - Sets or displays the file transfer type (default = ASCII)user - Specifes a user to the remote computerverbose - Toggles verbose mode (default = ON)! Runs the specified command on the local computer. Syntax: ! [command]Parameter(s): command - . Specifies the command to run on the local computer. If command is omitted, the local command prompt is displayed; type "exit" to return to ftp. Displays descriptions for ftp commands.
Syntax: ? [command]Parameter(s): 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.
Appends a local file to a file on the remote computer using the current file type setting. Syntax: append local- file [remote- file]Parameter(s): local- file - . Specifies the local file to add. Specifies the file on the remote computer to which local- file will be added.
If remote- file is omitted, the local filename is used for the remote filename. Sets the file transfer type to ASCII, the default. Syntax: ascii. Note.
FTP supports two file transfer types, ASCII and binary image. ASCII should be used when transferring text files. See also binary. In ASCII mode, character conversions to and from the network standard character set are performed. For example, end- of- line characters are converted as necessary, based on the target operating system. Toggles a bell to ring after each file transfer command is completed. By default, the bell is off.
Syntax: bellbinary. Sets the file transfer type to binary. Syntax: binary. Note. FTP supports two file transfer types, ASCII and binary image. Binary should be used when transferring executable files. In binary mode, the file is moved byte- by- byte. See also ascii. Ends the FTP session with the remote computer and exits ftp.
Changes the working directory on the remote computer. Syntax: cd remote- directory.
Parameter(s): remote- directory - . Specifies the directory on the remote computer to change to. Ends the FTP session with the remote server and returns to the command interpreter.
Syntax: closedebug. Toggles debugging. When debugging is on, each command sent to the remote computer is printed, preceded by the string - -- >. By default, debugging is off.
Syntax: debugdelete. Deletes a single file on a remote computer.
See also mdelete, which can delete multiple files. Syntax: delete remote- file. Parameter(s): remote- file - . Specifies the file to delete.
Displays a list of a remote directory's files and subdirectories. See also mdir, which can list multiple directories. Syntax: dir [remote- directory] [local- file]Parameter(s): remote- directory - . Specifies the directory for which you want to see a listing. If no directory is specified, the current working directory on the remote computer is used.
Specifies a local file to store the listing. If not specified, output is displayed on the screen. Disconnects from the remote computer, retaining the ftp prompt. Syntax: disconnectget. Copies a remote file to the local computer using the current file transfer type. See also mget, which can copy multiple files. Syntax: get remote- file [local- file]Parameter(s): remote- file.
Specifies the remote file to copy. Specifies the name to use on the local computer. If not specified, the file is given the remote- file name.
Toggles filename globbing. Globbing permits use of wildcard characters in local file or path names. By default, globbing is on. Syntax: globhash. Toggles hash- sign (#) printing for each data block transferred. The size of a data block is 2.
By default, hash mark printing is off. Syntax: hashhelp.
Displays descriptions for ftp commands. Syntax: help [command]Parameter(s): 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. Changes the working directory on the local computer.
By default, the working directory is the directory in which ftp was started. Syntax: lcd [directory]Parameter(s): directory - .
Specifies the directory on the local computer to change to. If directory is not specified, the current working directory on the local computer is displayed. Sends arguments, verbatim, to the remote FTP server.
A single FTP reply code is expected in return. Syntax: literal argument [ ..]Parameter(s): argument - . Specifies the argument to send to the FTP server. Displays an abbreviated list of a remote directory's files and subdirectories. Syntax: ls [remote- directory] [local- file]Parameter(s): remote- directory - . Specifies the directory for which you want to see a listing. If no directory is specified, the current working directory on the remote computer is used.
Specifies a local file to store the listing. If not specified, output is displayed on the screen.
Deletes one or more files on a remote computer. Syntax: mdelete remote- files [ ..]Parameter(s): remote- files - . Specifies the remote files to delete. Displays a list of a remote directory's files and subdirectories. Mdir allows you to specify multiple files.
Syntax: mdir remote- files [ ..] local- file. Parameter(s): remote- files - . Specifies the directory for which you want to see a listing.
Remote- files must be specified; type "- " to use the current working directory on the remote computer. Specifies a local file to store the listing. Type "- " to display the listing on the screen. Copies one or more remote files to the local computer using the current file transfer type. Syntax: mget remote- files [ ..]Parameter(s): remote- files - . Specifies the remote file(s) to copy to the local computer.
Creates a remote directory. Syntax: mkdir directory. Parameter(s): directory - . Specifies the name of the new remote directory. Displays an abbreviated list of a remote directory's files and subdirectories.
Syntax: mls remote- files [ ..] local- file. Parameter(s): remote- files - . Specifies the files for which you want to see a listing. Remote- files must be specified; type "- " to use the current working directory on the remote computer. Specifies a local file to store the listing.
Type "- " to display the listing on the screen. Copies one or more local files to the remote computer using the current file transfer type. Syntax: mput local- files [ ..]Parameter(s): local- files - . Specifies the local files to copy to the remote computer.