FTP Guide >> My Note

  • ! - Runs the specified command on the local computer
  • ? - Displays descriptions for ftp commands
  • append - Appends a local file to a file on the remote computer
  • ascii - Sets the file transfer type to ASCII, the default
  • bell - Toggles a bell to ring after each file transfer command is completed (default = OFF)
  • binary - Sets the file transfer type to binary
  • bye - Ends the FTP session and exits ftp
  • cd - Changes the working directory on the remote computer
  • close - Ends the FTP session and returns to the command interpreter
  • debug - Toggles debugging (default = OFF)
  • delete - Deletes a single file on a remote computer
  • dir - Displays a list of a remote directory's files and subdirectories
  • disconnect - Disconnects from the remote computer, retaining the ftp prompt
  • get - Copies a single remote file to the local computer
  • glob - Toggles filename globbing (wildcard characters) (default = ON)
  • hash - Toggles hash-sign (#) printing for each data block transferred (default = OFF)
  • help - Displays descriptions for ftp commands
  • lcd - Changes the working directory on the local computer
  • literal - Sends arguments, verbatim, to the remote FTP server
  • ls - Displays an abbreviated list of a remote directory's files and subdirectories
  • mdelete - Deletes one or more files on a remote computer
  • mdir - Displays a list of a remote directory's files and subdirectories
  • mget - Copies one or more remote files to the local computer
  • mkdir - Creates a remote directory
  • mls - Displays an abbreviated list of a remote directory's files and subdirectories
  • mput - Copies one or more local files to the remote computer
  • open - Connects to the specified FTP server
  • prompt - Toggles prompting (default = ON)
  • put - Copies a single local file to the remote computer
  • pwd - Displays the current directory on the remote computer (literally, "print working directory")
  • quit - Ends the FTP session with the remote computer and exits ftp (same as "bye")
  • quote - Sends arguments, verbatim, to the remote FTP server (same as "literal")
  • recv - Copies a remote file to the local computer
  • remotehelp - Displays help for remote commands
  • rename - Renames remote files
  • rmdir - Deletes a remote directory
  • send - Copies a local file to the remote computer (same as "put")
  • status - Displays the current status of FTP connections
  • trace - Toggles packet tracing (default = OFF)
  • type - Sets or displays the file transfer type (default = ASCII)
  • user - Specifes a user to the remote computer
  • verbose - Toggles verbose mode (default = ON)


lcd dname = local directory change (changes directory at the local site
  to dname)

lcd .. = change to the previous local site directory

cd .. = change to the previous foreign sire directory (ie go back one directory)

lcd = takes you to the home directory at the local site 

lcd dname = local directory change (changes directories at the
  foreign site to dname) 

cd dname = foreign directory change (changes directories at the foreign
  site to dname) 

The following 3 commands: ls, ls -F, and dir have the following
properties:
If your prompt is 'ftp>' then you get the list of files at the
foreign site'. If your prompt is 'LOCAL>' then you get the list of
files at the local site.

ls = listing of contents in the current directory 

ls -F = listing of contents in the current directory indicating which
  are directories with a /

dir = a listing of contents that also SHOWS THE SIZE of each entry.
  Directories are denoted by a d on the far left.
  Useful command if your local site has limited space.

get = command used to transfer files from the foreign site to the
  local site

mget *  = command used to transfer multiple files of the form "fname"
  from the current foreign directory to the current local directory

mget *.* = command used to transfer multiple files of the form
  "fname.something" from the current foreign directory to
  the current local directory. This will NOT copy
  directory structures, ONLY THE FILES. You must first
  create the directories in your account (the local
  site) BEFORE you ftp.

prompt = during mget commands your machine may or may not ask you
  whether you want each file. This command toggles this
  feature on and off for your convenience. I'll explain
  more when we get to mget in our example. 

get fname |more = allows you to read the file before deciding to get
  it. You can page down by hitting the space bar. You
  cannot page up! 

mkdir dname = make a directory at the local site called dname. You
  must use this command only at a LOCAL> prompt since you are not 
  authorized to alter the archive site.

pwd = ask the computer to tell you what directory you are in at the
  foreign site when prompt is "ftp>" and at the local site when the
  prompt is "LOCAL>"

quit = used at the ftp> prompt to end the session and return you to
  your local site

[ctrl] xc = allows you to stop the reading process of a "get fname
  |more" or to stop a "mget *" or "mget *.*" command. The
  [ctrl] key must be held down while x and c are
  typed!!! You do NOT need a prompt to use this command!!

WARNING: Sometimes this command will hang your local machine up. Other
commands you  might also try if this happens are: "[ctrl] c" and "q"
although "q" will not stop the mget processes.

Resource: http://fins.actwin.com/mirror/ftp-guide.html
Resource2: http://www.nsftools.com/tips/MSFTP.htm

Comments

Popular posts from this blog

[Khas Wanita] Gangguan Seksual Dan Apa Boleh Dilakukan Jika Menjadi Mangsa?

Apa itu subsidi?

5 Jenis Nafkah