See UsingLinuxCommands and AboutThesePages for the intent of this series of pages.
See UsingFtpBeginner for an expanded version of this page.
Contents:
Intent
Use ncftp to download a file from a remote computer.
Sample Session
- Switch to the (local) directory where you want to save the file. Otherwise, use lpwd and lcd from within ncftp.
- Confirm you have permission and sufficient space to save the file in the desired directory.
ncftp
ncftp> open ftp://carroll.cac.psu.edu (use "open carroll" if a bookmark exists)
or, if you need to specify your userid and password:
ncftp> open -u <userid> -p <password> ftp://carroll.cac.psu.edu
ncftp> cd /pub/linux/distributions/mandrake/iso/
ncftp> bookmark carroll
ncftp> use "lpwd" and "lcd" if required
ncftp> get Mandrake72-inst.iso
-
- Note: If you restart a failed transfer, enter "R" to resume the transfer (not "A" to append).
ncftp> quit
md5sum Mandrake72-inst.iso
Gotchas
- Apparently, if the directory/partition fills up where you are storing the downloaded file, Linux / ncftp simply deletes the file.
ToDos
- Test these instructions, or better yet, have somebody else test them and confirm they work. (I have tested them, but without following line by line.)
--
RandyKramer - 10 Jun 2001
(transferred from swiki, originally from CLUG wiki)