This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tutorials:node5.html [2011/04/30 20:02] – [4.8.1 FTP] georg | tutorials:node5.html [2011/04/30 20:05] (current) – georg | ||
---|---|---|---|
Line 165: | Line 165: | ||
'' | '' | ||
+ | |||
Change directory on the remote FTP server. | Change directory on the remote FTP server. | ||
'' | '' | ||
+ | |||
Print a lsit of the files in the current directory on the remote FTP server. | Print a lsit of the files in the current directory on the remote FTP server. | ||
'' | '' | ||
+ | |||
Tell FTP to assume that files you transfer are text files. | Tell FTP to assume that files you transfer are text files. | ||
'' | '' | ||
+ | |||
Tell FTP to assume that files you trnasfer are binary files. | Tell FTP to assume that files you trnasfer are binary files. | ||
'' | '' | ||
+ | |||
Tell FTP to print an octothorpe character (#) for each block it sends or receives. It helps you see the progress of the file transfer. | Tell FTP to print an octothorpe character (#) for each block it sends or receives. It helps you see the progress of the file transfer. | ||
'' | '' | ||
+ | |||
Upload a file. | Upload a file. | ||
'' | '' | ||
+ | |||
Download a file. | Download a file. | ||
Line 198: | Line 205: | ||
Use scp like you would use cp, but it can copy from one computer to another. | Use scp like you would use cp, but it can copy from one computer to another. | ||
- | For example, if I want to copy myfile.cpio.bz2 on my computer into the tmp directory in my account on SDF, I would run this: < | + | For example, if I want to copy myfile.cpio.bz2 on my computer into the tmp directory in my account on SDF, I would run this: '' |
- | Run < | + | Run '' |
In my experience, scp takes longer than ftp to transfer files, & it gives up easily. If either computer or the network is slow, scp gives up quickly. So I prefer ftp. | In my experience, scp takes longer than ftp to transfer files, & it gives up easily. If either computer or the network is slow, scp gives up quickly. So I prefer ftp. | ||
Line 237: | Line 244: | ||
The other popular editor on unix is vi. I don't use vi much. Two web sites that discuss it are Mastering the VI editor at the Department of Engineering at the university of Hawaii, and the Vi Lovers Home Page. | The other popular editor on unix is vi. I don't use vi much. Two web sites that discuss it are Mastering the VI editor at the Department of Engineering at the university of Hawaii, and the Vi Lovers Home Page. | ||
+ | |||
+ | [[tutorials: | ||
+ |