How to Send a File to an IP Address With Command Prompt
The File Transfer Protocol (FTP) is an Internet standard for downloading and uploading files from/to servers hosting data repositories. Modern operating systems include command-line FTP client software in their factory configurations. You can use a command prompt on your computer to send a local file to a remote server located at a known Internet Protocol (IP) address.
Click "Start" and type "run" into the search box. Click on the "Run" link, then type "cmd" and press "Enter." Click on the new window to select it.
Change the command prompt's current directory to the folder containing the file you want to send by typing the following command:cd "\myFiles\projectA"Replace "\myFiles\projectA" with the full path to the folder containing the file. Press "Enter."
Type the following command to launch the command-line FTP client on your prompt:ftp 188.8.131.52Replace "184.108.40.206" with the IP address of the computer where you want to send the file. Press "Enter." The FTP client will await your next command on its own command prompt.
Type the following command:put myFile.docReplace "myFile.doc" with the name of the file you want to send. Press "Enter." After a delay that depends on the file's size, the FTP client will return control to you. At that point, the file will have been successfully sent to the remote IP address.
Type the following command:byePress "Enter." The FTP client will exit to the usual command prompt.