chapter 6 downloading & storing information

52
Chapter 6 Chapter 6 Downloading and Downloading and Storing Information Storing Information

Upload: patty-ramsey

Post on 11-Nov-2014

1.499 views

Category:

Technology


0 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Chapter 6 Downloading & Storing Information

Chapter 6Chapter 6Downloading and Storing Downloading and Storing

InformationInformation

Page 2: Chapter 6 Downloading & Storing Information

Learning ObjectivesLearning Objectives

Define the role and function of File Transfer Protocol Define the role and function of File Transfer Protocol (FTP).(FTP).

Explain how to use command-line and GUI FTP Explain how to use command-line and GUI FTP client programs.client programs.

Demonstrate how file compression works and how Demonstrate how file compression works and how to use file compression programs to compress and to use file compression programs to compress and decompress files.decompress files.

Page 3: Chapter 6 Downloading & Storing Information

Learning ObjectivesLearning Objectives

Describe how software download sites work and Describe how software download sites work and how to download programs from software download how to download programs from software download sites.sites.

Compare and contrast shareware and freeware.Compare and contrast shareware and freeware.

Explain online storage and how to create an online Explain online storage and how to create an online storage account.storage account.

Page 4: Chapter 6 Downloading & Storing Information

Chapter FocusChapter Focus

File Transfer Protocol (FTP)File Transfer Protocol (FTP)

Command-Line FTP Client ProgramCommand-Line FTP Client Program

Web Browser FTP UseWeb Browser FTP Use

Dedicated FTP Client ProgramsDedicated FTP Client Programs

File Compression UtilitiesFile Compression Utilities

Software Download SitesSoftware Download Sites

Online StorageOnline Storage

Page 5: Chapter 6 Downloading & Storing Information

File Transfer Protocol (FTP)File Transfer Protocol (FTP)

Developed to enable users to transfer files between Developed to enable users to transfer files between networked computersnetworked computers

Does not set limits on sizes and types of files to Does not set limits on sizes and types of files to transfertransfer

FTP Server SoftwareFTP Server Software

With permission, allows client (local) computers With permission, allows client (local) computers access to files in specified folders (directories) on access to files in specified folders (directories) on the server (host) computerthe server (host) computer

Anonymous FTP serversAnonymous FTP servers

Open to the publicOpen to the public

Typically allow only downloadingTypically allow only downloading

Page 6: Chapter 6 Downloading & Storing Information

File Transfer Protocol (FTP)File Transfer Protocol (FTP)

Command-Line FTP client programsCommand-Line FTP client programs

User types simple commandsUser types simple commands

Graphical user interface (GUI) FTP client programsGraphical user interface (GUI) FTP client programs

Point-and-click interface with buttons or menus Point-and-click interface with buttons or menus and allows dragging and dropping of filesand allows dragging and dropping of files

Process to perform FTP operationsProcess to perform FTP operations

Connect to FTP serverConnect to FTP server

Start an FTP session (login)Start an FTP session (login)

Page 7: Chapter 6 Downloading & Storing Information

File Transfer Protocol (FTP)File Transfer Protocol (FTP)

GUI FTP Client ProgramGUI FTP Client Program

Page 8: Chapter 6 Downloading & Storing Information

File Transfer Protocol (FTP)File Transfer Protocol (FTP)ReviewReview

What advantages does FTP offer compared to What advantages does FTP offer compared to transferring files through e-mail?transferring files through e-mail?

What three items are necessary to transfer files to What three items are necessary to transfer files to and from another computer via FTP?and from another computer via FTP?

What passwords do anonymous FTP sites usually What passwords do anonymous FTP sites usually accept?accept?

Page 9: Chapter 6 Downloading & Storing Information

Command-Line FTP Client ProgramCommand-Line FTP Client Program

To connect in Windows VistaTo connect in Windows Vista

Click StartClick Start

Type Type ftpftp in the Instant Search box and then press in the Instant Search box and then press EnterEnter

Page 10: Chapter 6 Downloading & Storing Information

Command-Line FTP Client ProgramCommand-Line FTP Client Program

To begin a command-line FTP session type To begin a command-line FTP session type openopen followed followed by the FTP host’s URL or IP address and then press Enterby the FTP host’s URL or IP address and then press Enter

To connect in Windows VistaTo connect in Windows Vista

Click StartClick Start

Type Type ftpftp in the Instant Search box and then press in the Instant Search box and then press EnterEnter

Type commands in lowercase followed by a space Type commands in lowercase followed by a space and then text –if text is necessary such as a file or and then text –if text is necessary such as a file or folder namefolder name

After typing the command and any necessary text, After typing the command and any necessary text, press Enter to execute the commandpress Enter to execute the command

Page 11: Chapter 6 Downloading & Storing Information

Command-Line FTP Client ProgramCommand-Line FTP Client Program

CommandsCommands

lcdlcd

Displays the current local folder on your Displays the current local folder on your computercomputer

lcdlcd followed by a local computer or network drive followed by a local computer or network drive and folder nameand folder name

Changes the local folderChanges the local folder

Page 12: Chapter 6 Downloading & Storing Information

Command-Line FTP Client ProgramCommand-Line FTP Client Program

CommandsCommands

dirdir

Displays the contents of the current remote or Displays the contents of the current remote or host folder on the FTP serverhost folder on the FTP server

cdcd followed by a remote folder name followed by a remote folder name

Changes the current remote folderChanges the current remote folder

getget followed by the file name followed by the file name

Begins download processBegins download process

File and folder names must be typed exactly File and folder names must be typed exactly as they appear on the screenas they appear on the screen

Page 13: Chapter 6 Downloading & Storing Information

Command-Line FTP Client ProgramCommand-Line FTP Client Program

CommandsCommands

mgetmget

Can be used to download multiple files in one Can be used to download multiple files in one commandcommand

Separate each file name with a spaceSeparate each file name with a space

Typing Typing yy confirms a download and typing confirms a download and typing n n rejects itrejects it

disconnectdisconnect or or closeclose

Terminates a session – but leaves program openTerminates a session – but leaves program open

byebye

Closes the session and the programCloses the session and the program

Page 14: Chapter 6 Downloading & Storing Information

Command-Line FTP Client ProgramCommand-Line FTP Client Program

Transfer modesTransfer modes

ASCII modeASCII mode

Text filesText files

Binary modeBinary mode

All other filesAll other files

Content listingsContent listings

Remote folder names start with Remote folder names start with dd

Remote file names start with a dash (-)Remote file names start with a dash (-)

Page 15: Chapter 6 Downloading & Storing Information

Command-Line FTP Client ProgramCommand-Line FTP Client Program

Command-Line FTP SessionCommand-Line FTP Session

scroll bar

Page 16: Chapter 6 Downloading & Storing Information

Command-Line FTP Client ProgramCommand-Line FTP Client Program

Windows Vista Command-Line FTP Client Windows Vista Command-Line FTP Client Program HelpProgram Help

command listrequest

commanddefinitionrequest

commanddefinition

command list

Page 17: Chapter 6 Downloading & Storing Information

Command-Line FTP Client ProgramCommand-Line FTP Client Program

Windows Vista Command-Line FTP Windows Vista Command-Line FTP Client Program Log OnClient Program Log On

connectionestablished

successfullog on

password (invisible) user name for anonymous ftp

request to establishconnection with ftp server

Page 18: Chapter 6 Downloading & Storing Information

Command-Line FTP Client ProgramCommand-Line FTP Client Program

Command-Line FTP Client Folder and Command-Line FTP Client Folder and File ListingsFile Listings

remote directory(begins with d)

remote file(begins with -)

local (client) directory

Page 19: Chapter 6 Downloading & Storing Information

Command-Line FTP Client ProgramCommand-Line FTP Client Program

Command-Line FTP Program File Command-Line FTP Program File DownloadDownload

hash marks representdownload buffers

successful downloadnotification

file name

Page 20: Chapter 6 Downloading & Storing Information

Command-Line FTP Client Program Command-Line FTP Client Program ReviewReview

What does the What does the mgetmget command enable the user to command enable the user to do?do?

What command is used in a command-line FTP What command is used in a command-line FTP client to start an FTP session?client to start an FTP session?

What are the two different transfer modes, and what What are the two different transfer modes, and what type of file is each used for?type of file is each used for?

Page 21: Chapter 6 Downloading & Storing Information

Web Browser FTP UseWeb Browser FTP Use

Major browsers contain built-in GUI FTP capabilitiesMajor browsers contain built-in GUI FTP capabilities

Internet Explorer, Netscape Navigator, Mozilla Internet Explorer, Netscape Navigator, Mozilla Firefox, and OperaFirefox, and Opera

To start an FTP session in Internet ExplorerTo start an FTP session in Internet Explorer

Type the FTP host address in the browser Type the FTP host address in the browser Address bar and then press EnterAddress bar and then press Enter

Example: Example: ftp.irs.govftp.irs.gov

Page 22: Chapter 6 Downloading & Storing Information

Web Browser FTP UseWeb Browser FTP Use

When connection is made to an FTP siteWhen connection is made to an FTP site

If a username and password is required, a dialog If a username and password is required, a dialog box will be givenbox will be given

Once connected to an FTP site click the Page Once connected to an FTP site click the Page button in the Standard Toolbar and click Open button in the Standard Toolbar and click Open FTP Site In Windows Explorer to open the FTP FTP Site In Windows Explorer to open the FTP site in a Windows Explorer windowsite in a Windows Explorer window

Will again be prompted for username and Will again be prompted for username and password, but the dialog box provides an password, but the dialog box provides an additional checkbox option to save passwordadditional checkbox option to save password

Page 23: Chapter 6 Downloading & Storing Information

Web Browser FTP UseWeb Browser FTP Use

When user is logged inWhen user is logged in

Click the Folders button to display a tree Click the Folders button to display a tree hierarchy on local and remote computer or hierarchy on local and remote computer or networksnetworks

Top folder is known as a root folderTop folder is known as a root folder

Page 24: Chapter 6 Downloading & Storing Information

Web Browser FTP UseWeb Browser FTP Use

Log On As Dialog BoxLog On As Dialog Box

Page 25: Chapter 6 Downloading & Storing Information

Web Browser FTP UseWeb Browser FTP Use

Explorer Bar Showing Folder TreeExplorer Bar Showing Folder Tree

Forward Server address Search

Back

Local Filesand Folders

Click the Folders buttonto display the Folder Tree

Explorer bar

Page 26: Chapter 6 Downloading & Storing Information

Web Browser FTP UseWeb Browser FTP Use

User can click the Views button to change the way the User can click the Views button to change the way the main browser pane lists folders and filesmain browser pane lists folders and files

As in the Windows Explorer file manager available As in the Windows Explorer file manager available views include Tiles, Icons, Listviews include Tiles, Icons, List

The easiest way to download files from the FTP site is by The easiest way to download files from the FTP site is by dragging and dropping between Internet Explorer and a dragging and dropping between Internet Explorer and a separate Computer windowseparate Computer window

Computer window can be opened by clicking Start and Computer window can be opened by clicking Start and then Computerthen ComputerFiles and folders can be dragged from Internet Files and folders can be dragged from Internet Explorer to the open folder in the Computer windowExplorer to the open folder in the Computer windowMultiple files can be selected by holding down the Ctrl Multiple files can be selected by holding down the Ctrl key when making selectionskey when making selections

Page 27: Chapter 6 Downloading & Storing Information

Web Browser FTP UseWeb Browser FTP Use

Files can also be downloaded from an FTP server Files can also be downloaded from an FTP server by right-clicking the desired file in the browser by right-clicking the desired file in the browser window and then clicking Copy to Folder in the window and then clicking Copy to Folder in the shortcut menu that appearsshortcut menu that appearsStandard file management tasks such as renaming, Standard file management tasks such as renaming, deleting, cutting, and pasting are available when deleting, cutting, and pasting are available when accessing an FTP site with Internet Exploreraccessing an FTP site with Internet ExplorerA warning message or symbol mouse pointer will A warning message or symbol mouse pointer will appear if a user attempts to execute a forbidden appear if a user attempts to execute a forbidden activityactivity

Page 28: Chapter 6 Downloading & Storing Information

Web Browser FTP UseWeb Browser FTP Use

Copying Message BoxCopying Message Box

Page 29: Chapter 6 Downloading & Storing Information

Web Browser FTP UseWeb Browser FTP Use

Browse For Folder Dialog BoxBrowse For Folder Dialog Box

Page 30: Chapter 6 Downloading & Storing Information

Web Browser FTP UseWeb Browser FTP Use

Forbidden Activity SymbolForbidden Activity Symbol

forbiddeen activity symbolindicating prohibited filemovement

Page 31: Chapter 6 Downloading & Storing Information

Web Browser FTP UseWeb Browser FTP UseReviewReview

How can you start an FTP session using Internet How can you start an FTP session using Internet Explorer?Explorer?

What happens if a user attempts to execute a What happens if a user attempts to execute a forbidden activity?forbidden activity?

What techniques can you use to transfer files from What techniques can you use to transfer files from an FTP server accessed via Internet Explorer?an FTP server accessed via Internet Explorer?

Page 32: Chapter 6 Downloading & Storing Information

Dedicated FTP Client ProgramsDedicated FTP Client Programs

Dedicated GUI FTP client programsDedicated GUI FTP client programs

Offer additional convenient featuresOffer additional convenient features

Feature a split-view interfaceFeature a split-view interface

Local folders/files in left paneLocal folders/files in left pane

Remote server folders/files in right paneRemote server folders/files in right pane

Ability to save FTP addresses and log-on Ability to save FTP addresses and log-on information, connection wizards, and so oninformation, connection wizards, and so on

Many are shareware, some are freewareMany are shareware, some are freeware

Filezilla – freeware and open sourceFilezilla – freeware and open source

Page 33: Chapter 6 Downloading & Storing Information

Dedicated FTP Client ProgramsDedicated FTP Client Programs

FTP Command InterfaceFTP Command Interface

Connection Wizard button

Local computerfolders and files

Downloadprogress

Remote serverfolder and files

Page 34: Chapter 6 Downloading & Storing Information

Dedicated FTP Client Programs ReviewDedicated FTP Client Programs Review

What do the panes in a split-view GUI FTP client What do the panes in a split-view GUI FTP client interface show?interface show?

How can files and folders be transferred using GUI How can files and folders be transferred using GUI FTP clients?FTP clients?

Page 35: Chapter 6 Downloading & Storing Information

File Compression UtilitiesFile Compression Utilities

Use algorithms to compact the data in a fileUse algorithms to compact the data in a file

Resulting new file is smaller than the originalResulting new file is smaller than the original

Economizes file storage, transfer, e-mail Economizes file storage, transfer, e-mail attachmentsattachments

Text files can be reduced by 50% or moreText files can be reduced by 50% or more

Many image formats are already stored in a Many image formats are already stored in a compressed format, so savings are not significantcompressed format, so savings are not significant

When a file is decompressed and restored, no data When a file is decompressed and restored, no data is lost, file size is back to original sizeis lost, file size is back to original size

Page 36: Chapter 6 Downloading & Storing Information

File Compression UtilitiesFile Compression Utilities

WinZip Classic Interface Showing WinZip Classic Interface Showing Compression StatisticsCompression Statistics

uncompressedfile size (bytes)

percentage filesize reduction

compressedfile size (bytes)

Page 37: Chapter 6 Downloading & Storing Information

File Compression UtilitiesFile Compression Utilities

WinZip is one of the most popular compression WinZip is one of the most popular compression utilitiesutilities

Most compression utilities create compressed files Most compression utilities create compressed files with a .zip file name extensionwith a .zip file name extension

Compressing is known as zipping a fileCompressing is known as zipping a file

Decompressing is known as unzipping or extracting Decompressing is known as unzipping or extracting a filea file

WinZip files are known as archives, and an archive WinZip files are known as archives, and an archive can contain one or more compressed filescan contain one or more compressed files

Page 38: Chapter 6 Downloading & Storing Information

File Compression UtilitiesFile Compression Utilities

WinZip WizardWinZip Wizard

Page 39: Chapter 6 Downloading & Storing Information

File Compression UtilitiesFile Compression UtilitiesReviewReview

How do compression utilities work?How do compression utilities work?

What is an archive?What is an archive?

What file types will not result in a smaller file size What file types will not result in a smaller file size when compressed using a lossless compression when compressed using a lossless compression technology?technology?

Page 40: Chapter 6 Downloading & Storing Information

Software Download SitesSoftware Download Sites

Sites such as Sites such as www.tucows.comwww.tucows.com and and www.download.comwww.download.com offer freeware and shareware offer freeware and shareware software programs for download and installationsoftware programs for download and installation

FreewareFreeware

Copyrighted softwareCopyrighted software

Developer makes available for free distribution and Developer makes available for free distribution and useuse

Developer requires no compensation, but requires Developer requires no compensation, but requires that software not be modified or soldthat software not be modified or sold

May contain more bugs or errors than commercial May contain more bugs or errors than commercial programs that have gone through extensive testingprograms that have gone through extensive testing

Page 41: Chapter 6 Downloading & Storing Information

Software Download SitesSoftware Download Sites

Tucows Tucows Software Software Download Download Site Home Site Home PagePage

Search engine

Downloads sortedby operating system

Download categories

Other downloadcategories

Page 42: Chapter 6 Downloading & Storing Information

Software Download SitesSoftware Download Sites

SharewareShareware

Can be released as trial ware or demo softwareCan be released as trial ware or demo software

Usually require payment and registration after Usually require payment and registration after limited trial period – usually 30 dayslimited trial period – usually 30 days

If not registered, software may be disabled, or If not registered, software may be disabled, or pop-up windows may periodically appear to pop-up windows may periodically appear to remind user to register and payremind user to register and pay

Once registered, additional or enhanced features Once registered, additional or enhanced features of the software may be enabledof the software may be enabled

Page 43: Chapter 6 Downloading & Storing Information

Software Download SitesSoftware Download Sites

Shareware Product Registration ScreenShareware Product Registration Screen

Page 44: Chapter 6 Downloading & Storing Information

Software Download SitesSoftware Download Sites

Download Site Program DescriptionsDownload Site Program Descriptions

Page 45: Chapter 6 Downloading & Storing Information

Software Download SitesSoftware Download Sites

Mirror site serverMirror site server

Duplicates the contents of another serverDuplicates the contents of another server

Takes some of the load off the busier serverTakes some of the load off the busier server

Periodic updates must be made to the mirror Periodic updates must be made to the mirror sites to ensure they reflect any changes made to sites to ensure they reflect any changes made to the original sitethe original site

Page 46: Chapter 6 Downloading & Storing Information

Software Download SitesSoftware Download Sites

Download Mirror Site SelectionDownload Mirror Site Selection

Mirror locationsMirror sites

Page 47: Chapter 6 Downloading & Storing Information

Software Download SitesSoftware Download Sites

File Download Dialog BoxFile Download Dialog Box

Page 48: Chapter 6 Downloading & Storing Information

Software Download SitesSoftware Download SitesReviewReview

What is a software download site?What is a software download site?

What is the difference between freeware and What is the difference between freeware and shareware?shareware?

What are mirror sites?What are mirror sites?

Page 49: Chapter 6 Downloading & Storing Information

Online StorageOnline Storage

Provide remote storage space on their servers that Provide remote storage space on their servers that can be accessed onlinecan be accessed online

Once an account is established, user can log on Once an account is established, user can log on with a user name and password to use his or her with a user name and password to use his or her designated storage spacedesignated storage space

Most providers back up the storage services to Most providers back up the storage services to protect against data lossprotect against data loss

But if provider goes out of business, for example, But if provider goes out of business, for example, data could still be lostdata could still be lost

Always have a secondary backupAlways have a secondary backup

Page 50: Chapter 6 Downloading & Storing Information

Online StorageOnline Storage

Online Storage Trial Offer

Page 51: Chapter 6 Downloading & Storing Information

Online StorageOnline Storage

Yahoo! Briefcase Additional Storage Space Offers

Page 52: Chapter 6 Downloading & Storing Information

Online StorageOnline StorageReviewReview

What are some of the methods that can be used to What are some of the methods that can be used to upload and download files to or from an online upload and download files to or from an online storage service?storage service?

What can an online storage service be used for?What can an online storage service be used for?