FTP commands

FTP commands definition - computer

Following are some of the common FTP commands for manipulating files:

    Log in/out
    ftp domain_name   log in

      Example:  ftp ftp.mycompany.com

    quit, bye         log out



    Change Between ASCII and Binary Mode
    (ASCII is default, but graphics and
     programs requiry binary mode.)

    bin        binary transfer
    asc        ASCII transfer (default)


    File Transfer
     get       from remote to local
    mget       get multiple files on remote machine

     put       from local to remote
    mput       put multiple files on remote machine

    Examples:
     get story.doc
     put story.doc
     mget *.doc
     pget *.doc

     Note: when transferring multiple files, start
     ftp with the -i switch, to eliminate prompts
     for each file:  ftp -i domain_name



    Remote Directories
    ls     list files (simple)
    dir    list files (more details)
    cd     change directory (cd folderx)
    cd ..  go back one directory level
    mkdir  make a new directory (mkdir folderx)
    rmdir  remove directory     (rmdir folderx)
    pwd    print working directory; where am I?



    Local Directories
    lcd    change directory

      Example:  lcd \workdir


    lcd    jump to original directory

      Using lcd with no name takes you back
      to the directory you started from.





Computer Desktop Encyclopedia THIS DEFINITION IS FOR PERSONAL USE ONLY
All other reproduction is strictly prohibited without permission from the publisher.
Copyright © 1981-2009 by Computer Language Company Inc. All rights reserved.

Comments
Improve this definition.
Do you have more to add? Share your linguistic knowledge or observation.
/Register to save your comments.