Transcript FTP Slides
Accessing the Internet with
Anonymous FTP
Transferring Files from Remote
Computers
What is FTP?
• FTP is an abbreviation for “file transfer protocol”
(the rules used to communicate over the
Internet).
• In this course, we’ll cover using ftp to access ftp
archives on an anonymous ftp site.
– ftp archives are collections of files made available to
the public.
– An anonymous ftp site is a computer with ftp archives
permitting anyone to log on with the username:
anonymous and password: your e-mail address.
Ways to transfer files with FTP
• From the PC FTP program:
» FileZilla
» F-Secure File Transfer
• From a Web Browser (Internet Explorer/Firefox):
– ftp://anonymous_ftp_site_address
• From Time Sharing computers (UNIX/VMS):
– $ ftp name-of-anonymous-ftp-computer
• $ -> the prompt once you’ve logged onto the
machine
What do you need to know?
1. The name of the ftp site (host computer).
For example,
ftp.FTPplanet.com
2. The name of the file to be transferred.
MPSetup.exe
3. The directory path where the file is stored
/MP3_Software/Windows_Media_Player/
How to use the PC ftp software?
• Start the ftp software
(FileZilla or F-Secure).
• Enter the host’s name.
• Enter anonymous as the username.
• Enter your complete e-mail address as the
password.
Connecting to the Server
Host, use
cs.pitt.edu
Username
Password
Viewing Files
Files on your
computer
Files on host
computer
Navigate to the right path
Use Dr.
Novacky’s FTP
Archive
Drag+Drop to Transfer
Target File
Downloaded
File
Transfer
Status
Log
FTP from Unix
• Open up the SSH client and connect to a UNIX
server
• You could also connect using Telnet
• Once at the unix prompt, enter:
$ ftp name.of.ftp.site (ftp.FTPPlanet.com)
• Enter anonymous as the username and your
email.address as the password.
• Once connected, you will see the prompt:
ftp >_
12
Anonymous FTP Login within UNIX
13
FTP Commands
• Binary
-prepare to transfer a
binary file
• ascii
-prepare to transfer a text
file
• get file.to.retrieve
-receive file from server
• put file.to.place
-place file onto server
14
FTP Commands
• ls
– List the files in the
current directory
• pwd
– Show current directory
• quit or bye
– Quit the program
15
FTP Commands ...
• mget
• ?
• cd
prefix*
name.of.directory
• help command
– retrieve a group of
files, prefix is the first
few characters in the
file name
– list all commands
– change directory
– request help on command
16
Stepping through the Site
Listing the content of the folder
Change Directory
Download the file
17
FTP from a Web Browser
• Enter the URL
ftp://name.of.the.ftp.site
Press ENTER
• To change directory, click once with the
mouse
• Get back to the parent directory use
“backspace” key
18
FTP from a Web Browser
19
FTP from a Web Browser
20