[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

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
slackbook:basic_networking_utilities [2012/09/17 02:43 (UTC)] – [FTP Clients] Added original text and formatting mfillpotslackbook:basic_networking_utilities [2012/09/17 02:47 (UTC)] – [lftp] Added original text and formatting mfillpot
Line 609: Line 609:
 ==== ftp ==== ==== ftp ====
  
-The simplest FTP client included with Slackware is named simply, ftp(1) and is a reliable if somewhat simple means of sending and retrieving data. ftp connects to an FTP server, asks for your username and password, and then allows you to put or get data to and from that server. ftp has fallen out of favor with more experienced users do to a lack of features, but remains a handy tool, and much of the documentation you see online will refer you to it.+The simplest FTP client included with Slackware is named simply, 
 +**//ftp//**(1) and is a reliable if somewhat simple 
 +means of sending and retrieving data. **//ftp//** 
 +connects to an FTP server, asks for your username and password, and 
 +then allows you to put or get data to and from that server. 
 +**//ftp//** has fallen out of favor with more 
 +experienced users do to a lack of features, but remains a handy tool, 
 +and much of the documentation you see online will refer you to it
 + 
 + 
 +Once an FTP session has been initialized, you'll be placed at a prompt 
 +somewhat like a shell.From here you can change and list directories 
 +using the //"cd"// and //"ls"// commands, just like a shell.Additionally, you 
 +may issue the //"put"// command to send a file to the server, or a //"get"// 
 +command to retrieve data from the server. If you're connecting to a 
 +public FTP server, you'll want to use the //"anonymous"// username and 
 +simply enter your e-mail address (or a fake one) for the password.
  
-Once an FTP session has been initialized, you'll be placed at a prompt somewhat like a shell. From here you can change and list directories using the "cd" and "ls" commands, just like a shell. Additionally, you may issue the "put" command to send a file to the server, or a "get" command to retrieve data from the server. If you're connecting to a public FTP server, you'll want to use the "anonymous" username and simply enter your e-mail address (or a fake one) for the password. 
  
 <code> <code>
Line 636: Line 651:
 ==== ncftp ==== ==== ncftp ====
  
-ncftp(1) (pronounced nick-f-t-p), is a more feature rich successor to ftp, supporting tab completion and recursive retrieval. It automatically connects to a server as the anonymous user, unless you specify a different username on the commandline with the [-uargument. The primary advantage over ftp is the ability to send and retrieve multiple files at once with the "mput" and "mget" commands. If you pass the [-Rargument to either of them, they will recursively put or get data from directories.+**//ncftp//**(1) (pronounced nick-f-t-p), is a more 
 +feature rich successor to **//ftp//**, supporting 
 +tab completion and recursive retrieval. It automatically connects to a 
 +server as the anonymous user, unless you specify a different username 
 +on the commandline with the //-u// argument. The primary 
 +advantage over **//ftp//** is the ability to send 
 +and retrieve multiple files at once with the //"mput"// and //"mget"// 
 +commands. If you pass the //-R// argument to either of them, 
 +they will recursively put or get data from directories. 
  
 <code> <code>
 darkstar:~# ncftp ftp.osuosl.org darkstar:~# ncftp ftp.osuosl.org
-Logging in...                                                                   +Logging in... 
 Login successful. Login successful.
-Logged in to ftp.osuosl.org.                                                    +Logged in to ftp.osuosl.org.
 ncftp / > cd pub/slackware/slackware-current ncftp / > cd pub/slackware/slackware-current
 Directory successfully changed. Directory successfully changed.
 ncftp ...ware/slackware-current > mget -R isolinux ncftp ...ware/slackware-current > mget -R isolinux
-isolinux/README.TXT:                                     4.63 kB 16.77 kB/s   +isolinux/README.TXT: 4.63 kB 16.77 kB/s 
-isolinux/README_SPLIT.TXT:                             788.00 B    5.43 kB/s   +isolinux/README_SPLIT.TXT: 788.00 B5.43 kB/s 
-isolinux/f2.txt:                                       793.00 B    5.68 kB/s   +isolinux/f2.txt: 793.00 B5.68 kB/s 
-isolinux/initrd.img:                                    13.75 MB 837.91 kB/s   +isolinux/initrd.img:13.75 MB 837.91 kB/s 
-isolinux/iso.sort:                                      50.00 B  354.50 B/s    +isolinux/iso.sort:50.00 B354.50 B/s  
-isolinux/isolinux.bin:                                  14.00 kB 33.99 kB/s   +isolinux/isolinux.bin:14.00 kB 33.99 kB/s 
-isolinux/isolinux.cfg:                                 487.00 B    3.30 kB/s   +isolinux/isolinux.cfg: 487.00 B3.30 kB/s 
-isolinux/message.txt:                                  760.00 B    5.32 kB/s   +isolinux/message.txt:760.00 B5.32 kB/s 
-isolinux/setpkg:                                         2.76 kB 19.11 kB/s  +isolinux/setpkg: 2.76 kB 19.11 kB/s
 ncftp ...ware/slackware-current > bye ncftp ...ware/slackware-current > bye
 </code> </code>
- 
 ==== lftp ==== ==== lftp ====
  
-The last client we're going to look at is lftp(1). Like ncftp, it supports tab completion and recursive activity, but has a more friendly license. Rather than user "mget" and "mput", all recursive operations are handled with the "mirror" command. "mirror" has many different options available, so I'll have to refer you to the man page and the built-in "help" command for complete details.+The last client we're going to look at is 
 +**//lftp//**(1).Like 
 +**//ncftp//**, it supports tab completion and 
 +recursive activity, but has a more friendly license.Rather than user 
 +//"mget"// and //"mput"//, all recursive operations are handled with the 
 +//"mirror"// command.//"mirror"// has many different options available, so 
 +I'll have to refer you to the man page and the built-in //"help"// command 
 +for complete details. 
  
 <code> <code>
 darkstar:~# lftp ftp.osuosl.org darkstar:~# lftp ftp.osuosl.org
 lftp ftp.osuosl.org:~> cd /pub/slackware/slackware-current lftp ftp.osuosl.org:~> cd /pub/slackware/slackware-current
-cd ok, cwd=/pub/slackware/slackware-current            +cd ok, cwd=/pub/slackware/slackware-current
 lftp ftp.osuosl.org:/pub/slackware/slackware-current> mirror isolinux lftp ftp.osuosl.org:/pub/slackware/slackware-current> mirror isolinux
-Total: 2 directories, 16 files, 1 symlink                                      +Total: 2 directories, 16 files, 1 symlink
 New: 16 files, 1 symlink New: 16 files, 1 symlink
 14636789 bytes transferred in 20 seconds (703.7K/s) 14636789 bytes transferred in 20 seconds (703.7K/s)
 lftp ftp.osuosl.org:/pub/slackware/slackware-current> bye lftp ftp.osuosl.org:/pub/slackware/slackware-current> bye
 </code> </code>
- 
 ===== rsync ===== ===== rsync =====
  
 slackbook:basic_networking_utilities ()