How to Upload Files With CMD


You can make files on your computer accessible to anyone with an Internet connection by uploading them to a Web server. While some Web hosts and services let you upload files through your browser, it can be faster to use FTP -- short for File Transfer Protocol -- to upload files. The command line utility, sometimes abbreviated as CMD, can act as a bare-bones FTP client, letting you upload specific clients to your Web server with just a few commands. You must have the host name and password to the Web server in order to upload files.

Things You'll Need

  • Web server host name, username and password
  • Click "Start," then "All Programs," then "Accessories," and then "Command Prompt."

  • Type the following command at the prompt, and press "Enter:"


    Replace "" with your server's host name. Generally, if you are uploading to, the host name will also be or some variation, such as Consult your Web hosting provider if you are unsure.

  • Enter your username and password when prompted. You are now connected to the server.

  • Type the following command, and press "Enter" to upload a file:

    put filename

    Replace "filename" with the exact name of the file you want to upload, including the extension. For example, to upload a file called "index.html" you would enter:

    put index.html

Related Searches


Promoted By Zergnet



You May Also Like

Related Searches

Check It Out

Geek Vs Geek: Robot battles, hoverboard drag race, and more

Is DIY in your DNA? Become part of our maker community.
Submit Your Work!