FTP
Transfers files to and from a computer running a File Transfer Protocol (FTP) server service such as Internet Information Services. Ftp can be used interactively or in batch mode by processing ASCII text files.
Syntax
Parameters
Remarks
- You must prefix ftp parameters with a hyphen (-) rather than a slash (/).
- Ftp command-line parameters are case-sensitive.
- This command is available only if the Internet Protocol (TCP/IP) protocol is installed as a component in the properties of a network adapter in Network Connections.
- Ftp can be used interactively. After it is started, ftp creates a subenvironment in which you can use ftp commands. You can return to the command prompt by typing the quit command. When the ftp subenvironment is running, it is indicated by the ftp > command prompt.
- For more information about ftp subcommands, see Related Topics.
- Ftp supports the use of IPv6 when the IPv6 protocol is installed. For more information, see Related Topics.
Examples
ftp ftp.example.microsoft.com
To anonymously log on to the FTP server named ftp.example.microsoft.com, type:
ftp -A ftp.example.microsoft.com
To log on to the FTP server named ftp.example.microsoft.com and run the ftp commands contained in a file named Resynch.txt, type:
ftp -s:resynch.txt ftp.example.microsoft.com
Formatting legend
Format | Meaning |
Italic | Information that the user must supply |
Bold | Elements that the user must type exactly as shown |
Ellipsis (...) | Parameter that can be repeated several times in a command line |
Between brackets ([]) | Optional items |
Between braces ({}); choices separated by pipe (|). Example: {even|odd} | Set of choices from which the user must choose only one |
Courier font | Code or program output |