How to Upload Files With CMD

Save

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:"

    ftp hostname.com

    Replace "hostname.com" with your server's host name. Generally, if you are uploading to domain.com, the host name will also be hostname.com or some variation, such as ftp.hostname.com. 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

References

Promoted By Zergnet

Comments

Resources

You May Also Like

Related Searches

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