Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
tutorials:node5.html [2011/04/30 20:00] – [4.7 Surf the Web] georgtutorials:node5.html [2011/04/30 20:03] – [4.8.1 FTP] georg
Line 160: Line 160:
 To transfer files between your home computer & a remote unix, use the program called ftp. Your home computer almost certainly has a copy, even if you run Microthought Winders at home. To transfer files between your home computer & a remote unix, use the program called ftp. Your home computer almost certainly has a copy, even if you run Microthought Winders at home.
  
-To run ftp, first go to a command line. Then type <nowiki>"</nowiki>ftp ftp.freeshell.org<nowiki>"</nowiki> to connect to the FTP server at SDF.+To run ftp, first go to a command line. Then type ''ftp ftp.freeshell.org'' to connect to the FTP server at SDF.
  
 The ftp client has a command line interface. Here are some of the commands it understands: The ftp client has a command line interface. Here are some of the commands it understands:
  
-cd directory +''cd directory'' 
-    Change directory on the remote FTP server.  + 
-dir +Change directory on the remote FTP server.  
-    Print a lsit of the files in the current directory on the remote FTP server.  + 
-ascii +''dir'' 
-    Tell FTP to assume that files you transfer are text files.  + 
-binary +Print a lsit of the files in the current directory on the remote FTP server.  
-    Tell FTP to assume that files you trnasfer are binary files.  + 
-hash +''ascii'' 
-    Tell FTP to print an octothorpe character (#) for each block it sends or receives. It helps you see the progress of the file transfer.  + 
-put filename +Tell FTP to assume that files you transfer are text files.  
-    Upload a file.  + 
-get filename +''binary'' 
-    Download a file. + 
 +Tell FTP to assume that files you trnasfer are binary files.  
 + 
 +''hash'' 
 + 
 +Tell FTP to print an octothorpe character (#) for each block it sends or receives. It helps you see the progress of the file transfer.  
 + 
 +''put filename'' 
 + 
 +Upload a file.  
 + 
 +''get filename'' 
 + 
 +Download a file. 
  
 In general, use the cd command to enter the correct directory on the remote FTP server. Then set the correct mode (ascii or binary). Then use get to download a file or put to upload one. In general, use the cd command to enter the correct directory on the remote FTP server. Then set the correct mode (ascii or binary). Then use get to download a file or put to upload one.
  
-The ftp client program supports many more commands. Use <nowiki>"</nowiki>man ftp<nowiki>"</nowiki> for more information about FTP.+The ftp client program supports many more commands. Use "man ftp" for more information about FTP.
  
 In case you are interested: FTP refers to the File Transfer Protocol; it was one of the three requirements that created the Arpa Net which became the Internet. Ftp is also the name of the File Transfer Program which implements FTP. In case you are interested: FTP refers to the File Transfer Protocol; it was one of the three requirements that created the Arpa Net which became the Internet. Ftp is also the name of the File Transfer Program which implements FTP.