|
That's not a published item! You are not allowed to see the content of this item!
[ Source ]
ftp
Created: 2007-11-28 23:19:00
Modified: 2009-04-15 11:54:00 Categories: network Keywords: ftp file transfer protocol. Description: This article talk about the ftp (file transfer protocol). In this article we show how you can download a file with the ftp command line utility. Table Of ContentsFTP on the cliftp ftp.oreilly.com This output: Connected to ftp.oreilly.com. 220 ProFTPD 1.3.1rc2 Server (ftp.oreilly.com) [208.201.239.51] Name (ftp.oreilly.com:dvanmosselbeen): Enter This output: 331 Anonymous login ok, send your complete email address as your password Password: Enter your email address (or even a fake for full anonymous). This output: 230-Welcome to the O'Reilly & Associates, Inc. FTP Archive. Local date and time: Sun Apr 27 20:44:38 2008 --> Hello 84.198.68.117 <-- --> There are 4 users out of 100 allowed in your usage class. <-- Check out our public web server at http://www.oreilly.com --> Please Note!! <-- If you're using an FTP client in "active" mode and you're behind a firewall, you will be unable to list directories. To do so requires that the server initiate a data connection back to your client on a port that could be blocked by your firewall configuration. Attempts to list directories or retrieve files under these conditions will result in a message similar to the following: Can't build data connection: Connection refused. Depending on your FTP client software, it may be possible to toggle from active to passive mode. If it isn't possible, we suggest using a recent version of Netscape's browser, which runs in passive mode by default. Use this URL: ftp://ftp.oreilly.com thank you. ftpmaster@oreilly.com 230 Anonymous access granted, restrictions apply Remote system type is UNIX. Using binary mode to transfer files. ftp> Enter You should get: 250 CWD command successful Type 200 Type set to I List the content of the directory with the 200 PORT command successful 150 Opening ASCII mode data connection for file list -rwxr-xr-x 1 ftp ftp 816128 Mar 31 17:59 examples.tar -rwxr-xr-x 1 ftp ftp 225393 Mar 31 17:59 examples.zip 226 Transfer complete Type now local: examples.zip remote: examples.zip 200 PORT command successful 150 Opening BINARY mode data connection for examples.zip (225393 bytes) 226 Transfer complete 225393 bytes received in 1.11 secs (197.9 kB/s) The file is download in the current working directory where you started the ftp program. Type 221 Goodbye. ftp serversThe recommended is
ResourcesComments leaved by users (total: 0)
Add a comment[ Toggle on/off history ] Item History:
|
|
||||||||||||||||||||||||||||||||