25
Downloading and Storing Data

Downloading and Storing Datastaff.iium.edu.my/rasyidah/week12-internet.pdf · Downloading and Storing Data. Understanding XP File Transfer Protocol • FTP (File Transfer Protocol):

  • Upload
    others

  • View
    12

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Downloading and Storing Datastaff.iium.edu.my/rasyidah/week12-internet.pdf · Downloading and Storing Data. Understanding XP File Transfer Protocol • FTP (File Transfer Protocol):

Downloading and Storing Data

Page 2: Downloading and Storing Datastaff.iium.edu.my/rasyidah/week12-internet.pdf · Downloading and Storing Data. Understanding XP File Transfer Protocol • FTP (File Transfer Protocol):

XPUnderstandingFile Transfer Protocol

• FTP (File Transfer Protocol): Internet protocol that transfers files between computers on the Internet

• FTP site (FTP server, remote computer, remote site): the site you are sending files to and receiving files from

• Local site (local computer): your computer when you use it to connect to an FTP site

2

Page 3: Downloading and Storing Datastaff.iium.edu.my/rasyidah/week12-internet.pdf · Downloading and Storing Data. Understanding XP File Transfer Protocol • FTP (File Transfer Protocol):

XPUnderstandingFile Transfer Protocol

• When you send a file using FTP, you upload the file from your computer to the remote site

• When you receive a file, you download the file from the remote site to your computer

3

Page 4: Downloading and Storing Datastaff.iium.edu.my/rasyidah/week12-internet.pdf · Downloading and Storing Data. Understanding XP File Transfer Protocol • FTP (File Transfer Protocol):

XPFile Transfer Modes

• You can select one of two file transfer modes:– ASCII text: contains symbols typed from the

keyboard but does not include any nonprintable, binary codes

– Binary: files such as pictures, movies, sound files and graphics

• Choose ASCII mode to transfer plain-text files

• Choose binary mode for transferring everything else

4

Page 5: Downloading and Storing Datastaff.iium.edu.my/rasyidah/week12-internet.pdf · Downloading and Storing Data. Understanding XP File Transfer Protocol • FTP (File Transfer Protocol):

XPFile Types and Extensions

• File extension: the characters following the period (.) in the filename

5

Page 6: Downloading and Storing Datastaff.iium.edu.my/rasyidah/week12-internet.pdf · Downloading and Storing Data. Understanding XP File Transfer Protocol • FTP (File Transfer Protocol):

XPFTP Site

• FTP sites are organized hierarchically, much like the folders and files on a computer’s hard drive

• When you access an FTP site, you usually enter at the site’s root directory

• Most sites prevent users with anonymous logins from accessing some files and directories in the root directory

6

Page 7: Downloading and Storing Datastaff.iium.edu.my/rasyidah/week12-internet.pdf · Downloading and Storing Data. Understanding XP File Transfer Protocol • FTP (File Transfer Protocol):

XPUsing a Web Browserto Navigate an FTP Site

• An FTP site usually stores directories and files• Clicking a link to a directory opens the folder and

displays its contents• Clicking the link to a filename opens the file and

displays its contents• To download a file to your computer, right-click

the filename to open the shortcut menu, click Save Target As, navigate to the drive and folder in which to save the file, and then click the Save button

7

Page 8: Downloading and Storing Datastaff.iium.edu.my/rasyidah/week12-internet.pdf · Downloading and Storing Data. Understanding XP File Transfer Protocol • FTP (File Transfer Protocol):

XPUsing a Web Browserto Navigate an FTP Site

8

Page 9: Downloading and Storing Datastaff.iium.edu.my/rasyidah/week12-internet.pdf · Downloading and Storing Data. Understanding XP File Transfer Protocol • FTP (File Transfer Protocol):

XPLogging on to an FTP Site Using a Client Program

• An FTP Client is a software designed to transfer files back-and-forth between two computers over the Internet. It needs to be installed on your computer and can only be used with a live connection to the Internet.

• With an FTP Client, uploading/downloading a file is really easy. Furthermore, FTP clients have some extra features. For example, you're can resume a download that did not finish successfully. This is a very nice feature for people with slower Internet connections.

9

Page 10: Downloading and Storing Datastaff.iium.edu.my/rasyidah/week12-internet.pdf · Downloading and Storing Data. Understanding XP File Transfer Protocol • FTP (File Transfer Protocol):

XPLogging on to an FTP Site Using a Client Program

• FTP clients' interface is usually divided in two - the pane on the left shows the files and folders on your computer (your Desktop, My Documents, etc,) and the pane on the right displays the files on the remote server.

• File transfers are made by simply dragging and dropping files from one pane to the other. Additional features of the FTP Client include: multiple file transfers at a time, auto resuming of the transfer, file queuing and more.

10

Page 11: Downloading and Storing Datastaff.iium.edu.my/rasyidah/week12-internet.pdf · Downloading and Storing Data. Understanding XP File Transfer Protocol • FTP (File Transfer Protocol):

XPExamples of FTP Client Program

• FileZilla• CuteFTP• SmartFTP• WSFTPle

11

Page 12: Downloading and Storing Datastaff.iium.edu.my/rasyidah/week12-internet.pdf · Downloading and Storing Data. Understanding XP File Transfer Protocol • FTP (File Transfer Protocol):

XPLogging on to an FTP Site Using a Web Browser

• Most Web browsers including Internet Explorer and Firefox support FTP, but have limited functionality when compared to FTP client programs

• To upload a file, you must drag it from your desktop or Windows Explorer and drop it in the correct location in the browser window

• To download a file, you select the file to download and tell the browser where to save it on your computer

12

Page 13: Downloading and Storing Datastaff.iium.edu.my/rasyidah/week12-internet.pdf · Downloading and Storing Data. Understanding XP File Transfer Protocol • FTP (File Transfer Protocol):

XPLogging on to an FTP Site Using a Web Browser

13

Page 14: Downloading and Storing Datastaff.iium.edu.my/rasyidah/week12-internet.pdf · Downloading and Storing Data. Understanding XP File Transfer Protocol • FTP (File Transfer Protocol):

XPLevel of access for FTP Server

• There are 2 levels:– Anonymous FTP– Full Privilege FTP

14

Page 15: Downloading and Storing Datastaff.iium.edu.my/rasyidah/week12-internet.pdf · Downloading and Storing Data. Understanding XP File Transfer Protocol • FTP (File Transfer Protocol):

XPAnonymous FTP

• Anonymous login: logging on to the remote computers connected to the Internet using anonymous as your user name

• Anonymous FTP session: when you download or upload files using an anonymous login

15

Page 16: Downloading and Storing Datastaff.iium.edu.my/rasyidah/week12-internet.pdf · Downloading and Storing Data. Understanding XP File Transfer Protocol • FTP (File Transfer Protocol):

XPAnonymous FTP

16

Page 17: Downloading and Storing Datastaff.iium.edu.my/rasyidah/week12-internet.pdf · Downloading and Storing Data. Understanding XP File Transfer Protocol • FTP (File Transfer Protocol):

XPDisadvantages of using Anonymous FTP

• Public FTP sites usually impose limits on uploading files or provide only one directory to which you can upload files (public directory)

• Public directory (pub): the directory that public FTP sites allow users with anonymous FTP access to view

• Access to selected files and directories is also limited

• You should obey all rules and regulations regarding anonymous access

17

Page 18: Downloading and Storing Datastaff.iium.edu.my/rasyidah/week12-internet.pdf · Downloading and Storing Data. Understanding XP File Transfer Protocol • FTP (File Transfer Protocol):

XPFull-Privilege FTP

• Full-privilege FTP: FTP site access that requires a user name and password

• The system might automatically direct you to a particular directory on the FTP site in which you have been given rights to upload and download files

• You can usually store files for longer periods than you can on a public FTP site

18

Page 19: Downloading and Storing Datastaff.iium.edu.my/rasyidah/week12-internet.pdf · Downloading and Storing Data. Understanding XP File Transfer Protocol • FTP (File Transfer Protocol):

XPMirror site

• A mirror site is an exact copy of another Internet site. Mirror sites are most commonly used to provide multiple sources of the same information, and providing reliable access to large downloads.

19

Page 20: Downloading and Storing Datastaff.iium.edu.my/rasyidah/week12-internet.pdf · Downloading and Storing Data. Understanding XP File Transfer Protocol • FTP (File Transfer Protocol):

XPTracing an Internet Route

• Tracert command• Ping• Ipconfig

20

Page 21: Downloading and Storing Datastaff.iium.edu.my/rasyidah/week12-internet.pdf · Downloading and Storing Data. Understanding XP File Transfer Protocol • FTP (File Transfer Protocol):

XPTracert command

• Traceroute is a command which can show you the path a packet of information takes from your computer to one you specify. It will list all the routers it passes through until it reaches its destination, or fails to and is discarded. In addition to this, it will tell you how long each 'hop' from router to router takes.

21

Page 22: Downloading and Storing Datastaff.iium.edu.my/rasyidah/week12-internet.pdf · Downloading and Storing Data. Understanding XP File Transfer Protocol • FTP (File Transfer Protocol):

XPTracert command

• In Windows, select Start > Programs > Accessories > Command Prompt.

• Enter the word tracert, followed by a space, then the domain name.

22

Page 23: Downloading and Storing Datastaff.iium.edu.my/rasyidah/week12-internet.pdf · Downloading and Storing Data. Understanding XP File Transfer Protocol • FTP (File Transfer Protocol):

XPTracert command

• Firstly it tells you the IP address of that domain, and what the maximum number of hops will be before it times out.

• Next it gives information about each router it passes through on the way to its destination.

1 is the internet gateway on the network this traceroute was done 2 is the ISP the origin computer is connected to 3 is also the ISP the origin computer is connected to4 timed out5 - 9 are all routers on the global-gateway10 - 14 additional info15 - 17 additional info18 is a router on the network of your website is hosted onand finally, line 19 is your computer is hosted on 23

Page 24: Downloading and Storing Datastaff.iium.edu.my/rasyidah/week12-internet.pdf · Downloading and Storing Data. Understanding XP File Transfer Protocol • FTP (File Transfer Protocol):

XPPing • Pinging is a command which tells you if the connection

between your computer and a particular domain is working correctly or not.

• In Windows, select Start > Programs > Accessories > Command Prompt. Enter the word ping, followed by a space, then the domain name.

• If the results show a series of replies, the connection is working. The time shows you how fast the connection is. If you see a "timed out" error instead of a reply, there is a breakdown somewhere between your computer and the domain.

24

Page 25: Downloading and Storing Datastaff.iium.edu.my/rasyidah/week12-internet.pdf · Downloading and Storing Data. Understanding XP File Transfer Protocol • FTP (File Transfer Protocol):

XPIPConfig

• Ipconfig is a command line utility available on all versions of Microsoft Windows starting with Windows NT. Ipconfig is designed to be run from the Windows command prompt. This utility allows you to get the IP address information of a Windows computer.

• To run the Ipconfig.exe utility, at a command prompt, type ipconfig.

25