How to FTP a File From DOS
There are many tasks you can do from within DOS that you might find simpler and quicker than from performing in Windows. If you want to send a file using the file transfer protocol (FTP), then you can do so with DOS. Before you launch the DOS-based FTP connection, you must first open the file transfer directory. This will be the location of the files that you want to move.
Instructions
-
-
1
Click "Start," type "cmd" and press "Enter." This launches the DOS command prompt.
-
2
Use the "cd" command to change to the directory that contains your files you want to transfer. For example if "C:" is displayed and you need to read "folder2," type "cd folder2" and press "Enter."
-
-
3
Type "ftp ftpsite.com" replacing "ftpsite.com" with the name of the FTP server to which you are connecting. Press "Enter."
-
4
Enter the username and password when prompted and press "Enter." Enter "anonymous" if you want to make an anonymous connection.
-
5
Type "pwd" and press "Enter" to show the current directory.
-
6
Type "binary" if the file you want to transfer is not a plain text file. Press "Enter."
-
7
Type "put filename.jpg" and press "Enter." Replace "filename.jpg" with the exact file name of the file you wish to send. This "puts" the file onto the remote server.
-
8
Type "quit" to disconnect from the FTP DOS connection.
-
1