FTP basics

File Transfer Protocol (FTP) is a method used to transfer files from one machine to another. You can use the command line, the most common commands which are noted below, or an FTP program. There are many free applications for this. A popular one for Windows is FileZilla. Read the FileZilla documentation, or the documentation to whichever application you decide to use, for usage instructions.

Useful FTP commands

  - Navigate to the desired local directory in the Command Prompt program
  - Type ftp -i hostname
  - Type your username and password (password is invisible)
  - Type type (See if it's ascii [pages] or binary [images, sounds, etc.])
  - Type cd desiredDirectory (Get to where you want to upload or download)
  - Type pwd (Confirm where you're at)
  - Type ls (Get a directory listing)
  - To get a directory listing of the local directory, type !dir. The ! lets you bypass the FTP environment to issue commands to the operating system
  - Upload an image or sound?
    - Type bin
    - Type put filename
  - Upload a page?
    - Type asc
    - Type put filename
  - Download an image or sound?
    - Type bin
    - Type get filename
  - Download a page?
    - Type asc
    - Type get filename
  - Batch upload? Type mput *.htm
  - Batch download? Type mget *.htm
  - See other options? Type help
  - Terminate a session? Type bye


Article Details

Last Updated
1st of February, 2010

Would you like to...

Print this page Print this page

Email this page Email this page

Post a comment Post a comment

Subscribe me

Add to favorites Add to favorites

Remove Highlighting Remove Highlighting

Edit this Article

Quick Edit

Export to PDF

User Opinions (0 votes)

No users have voted.

How would you rate this answer?



Thank you for rating this answer.

Related Articles

No related articles were found.

Attachments

No attachments were found.

Visitor Comments

No visitor comments posted. Post a comment

Post a comment

To post a comment for this article, simply complete the form below. Fields marked with an asterisk are required.
   Name:
   Email:
* Comment:
* Enter the code below:
 

Continue