Disclaimer Privacy Policy. Disables file name globbing. For more information, see additional references. Specifies a text file that contains ftp commands. These commands run automatically after ftp starts. This parameter allows no spaces.
Specifies the computer name, IP address, or IPv6 address of the ftp server to which to connect. The host name or address, if specified, must be the last parameter on the line. This command toggles back and forth between the operating system and ftp. Download Microsoft Edge More info. Contents Exit focus mode. Is this page helpful? Please rate your experience Yes No. Any additional feedback? Submit and view feedback for This product This page.
View all page feedback. If a different TCP port is needed to connect, enter the port number after the domain name or IP address in the open command. Once connected, a username and password prompt appears. Once these credentials are entered, the server allows you to browse, send, or receive files, depending on your rights.
Some servers may also allow anonymous logins using guest or an e-mail address. To get files from the server onto your computer, use the get command, as shown in the following example. In this example, you would get the file myfile.
If you want to get more than one file, use mget and wildcards. For example, if you wanted to get all files that end with. Read more. While, in some cases, you can use the Windows command-line ftp. The ftp. For example with WinSCP scripting , you can use a batch file like:. There's even a guide for converting Windows ftp. Sign up to join this community. The best answers are voted up and rise to the top.
Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Learn more. How do I upload files using the command line on Windows?
Ask Question. Asked 10 years, 10 months ago.
0コメント