Chapter 6 Downloading & Storing Information


Published on

Published in: Technology
  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Chapter 6 Downloading & Storing Information

  1. 1. Chapter 6 Downloading and Storing Information
  2. 2. Learning Objectives <ul><li>Define the role and function of File Transfer Protocol (FTP). </li></ul><ul><li>Explain how to use command-line and GUI FTP client programs. </li></ul><ul><li>Demonstrate how file compression works and how to use file compression programs to compress and decompress files. </li></ul>
  3. 3. Learning Objectives <ul><li>Describe how software download sites work and how to download programs from software download sites. </li></ul><ul><li>Compare and contrast shareware and freeware. </li></ul><ul><li>Explain online storage and how to create an online storage account. </li></ul>
  4. 4. Chapter Focus <ul><li>File Transfer Protocol (FTP) </li></ul><ul><li>Command-Line FTP Client Program </li></ul><ul><li>Web Browser FTP Use </li></ul><ul><li>Dedicated FTP Client Programs </li></ul><ul><li>File Compression Utilities </li></ul><ul><li>Software Download Sites </li></ul><ul><li>Online Storage </li></ul>
  5. 5. File Transfer Protocol (FTP) <ul><li>Developed to enable users to transfer files between networked computers </li></ul><ul><li>Does not set limits on sizes and types of files to transfer </li></ul><ul><li>FTP Server Software </li></ul><ul><ul><li>With permission, allows client (local) computers access to files in specified folders (directories) on the server (host) computer </li></ul></ul><ul><li>Anonymous FTP servers </li></ul><ul><ul><li>Open to the public </li></ul></ul><ul><ul><li>Typically allow only downloading </li></ul></ul>
  6. 6. File Transfer Protocol (FTP) <ul><li>Command-Line FTP client programs </li></ul><ul><ul><li>User types simple commands </li></ul></ul><ul><li>Graphical user interface (GUI) FTP client programs </li></ul><ul><ul><li>Point-and-click interface with buttons or menus and allows dragging and dropping of files </li></ul></ul><ul><li>Process to perform FTP operations </li></ul><ul><ul><li>Connect to FTP server </li></ul></ul><ul><ul><li>Start an FTP session (login) </li></ul></ul>
  7. 7. File Transfer Protocol (FTP) GUI FTP Client Program
  8. 8. File Transfer Protocol (FTP) Review <ul><li>What advantages does FTP offer compared to transferring files through e-mail? </li></ul><ul><li>What three items are necessary to transfer files to and from another computer via FTP? </li></ul><ul><li>What passwords do anonymous FTP sites usually accept? </li></ul>
  9. 9. Command-Line FTP Client Program <ul><li>To connect in Windows Vista </li></ul><ul><ul><li>Click Start </li></ul></ul><ul><ul><li>Type ftp in the Instant Search box and then press Enter </li></ul></ul>
  10. 10. Command-Line FTP Client Program <ul><li>To begin a command-line FTP session type open followed by the FTP host’s URL or IP address and then press Enter </li></ul><ul><ul><li>To connect in Windows Vista </li></ul></ul><ul><ul><ul><li>Click Start </li></ul></ul></ul><ul><ul><ul><li>Type ftp in the Instant Search box and then press Enter </li></ul></ul></ul><ul><ul><ul><li>Type commands in lowercase followed by a space and then text –if text is necessary such as a file or folder name </li></ul></ul></ul><ul><ul><ul><li>After typing the command and any necessary text, press Enter to execute the command </li></ul></ul></ul>
  11. 11. Command-Line FTP Client Program <ul><li>Commands </li></ul><ul><ul><li>lcd </li></ul></ul><ul><ul><ul><li>Displays the current local folder on your computer </li></ul></ul></ul><ul><ul><li>lcd followed by a local computer or network drive and folder name </li></ul></ul><ul><ul><ul><li>Changes the local folder </li></ul></ul></ul>
  12. 12. Command-Line FTP Client Program <ul><li>Commands </li></ul><ul><ul><li>dir </li></ul></ul><ul><ul><ul><li>Displays the contents of the current remote or host folder on the FTP server </li></ul></ul></ul><ul><ul><li>cd followed by a remote folder name </li></ul></ul><ul><ul><ul><li>Changes the current remote folder </li></ul></ul></ul><ul><ul><li>get followed by the file name </li></ul></ul><ul><ul><ul><li>Begins download process </li></ul></ul></ul><ul><ul><ul><li>File and folder names must be typed exactly as they appear on the screen </li></ul></ul></ul>
  13. 13. Command-Line FTP Client Program <ul><li>Commands </li></ul><ul><ul><li>mget </li></ul></ul><ul><ul><ul><li>Can be used to download multiple files in one command </li></ul></ul></ul><ul><ul><ul><li>Separate each file name with a space </li></ul></ul></ul><ul><ul><ul><li>Typing y confirms a download and typing n rejects it </li></ul></ul></ul><ul><ul><li>disconnect or close </li></ul></ul><ul><ul><ul><li>Terminates a session – but leaves program open </li></ul></ul></ul><ul><ul><li>bye </li></ul></ul><ul><ul><ul><li>Closes the session and the program </li></ul></ul></ul>
  14. 14. Command-Line FTP Client Program <ul><li>Transfer modes </li></ul><ul><ul><li>ASCII mode </li></ul></ul><ul><ul><ul><li>Text files </li></ul></ul></ul><ul><ul><li>Binary mode </li></ul></ul><ul><ul><ul><li>All other files </li></ul></ul></ul><ul><li>Content listings </li></ul><ul><ul><li>Remote folder names start with d </li></ul></ul><ul><ul><li>Remote file names start with a dash (-) </li></ul></ul>
  15. 15. Command-Line FTP Client Program Command-Line FTP Session scroll bar
  16. 16. Command-Line FTP Client Program Windows Vista Command-Line FTP Client Program Help command list request command definition request command definition command list
  17. 17. Command-Line FTP Client Program Windows Vista Command-Line FTP Client Program Log On connection established successful log on password (invisible) user name for anonymous ftp request to establish connection with ftp server
  18. 18. Command-Line FTP Client Program Command-Line FTP Client Folder and File Listings remote directory (begins with d ) remote file (begins with -) local (client) directory
  19. 19. Command-Line FTP Client Program Command-Line FTP Program File Download hash marks represent download buffers successful download notification file name
  20. 20. Command-Line FTP Client Program Review <ul><li>What does the mget command enable the user to do? </li></ul><ul><li>What command is used in a command-line FTP client to start an FTP session? </li></ul><ul><li>What are the two different transfer modes, and what type of file is each used for? </li></ul>
  21. 21. Web Browser FTP Use <ul><li>Major browsers contain built-in GUI FTP capabilities </li></ul><ul><ul><li>Internet Explorer, Netscape Navigator, Mozilla Firefox, and Opera </li></ul></ul><ul><li>To start an FTP session in Internet Explorer </li></ul><ul><ul><li>Type the FTP host address in the browser Address bar and then press Enter </li></ul></ul><ul><ul><ul><li>Example: </li></ul></ul></ul>
  22. 22. Web Browser FTP Use <ul><li>When connection is made to an FTP site </li></ul><ul><ul><li>If a username and password is required, a dialog box will be given </li></ul></ul><ul><ul><li>Once connected to an FTP site click the Page button in the Standard Toolbar and click Open FTP Site In Windows Explorer to open the FTP site in a Windows Explorer window </li></ul></ul><ul><ul><li>Will again be prompted for username and password, but the dialog box provides an additional checkbox option to save password </li></ul></ul>
  23. 23. Web Browser FTP Use <ul><li>When user is logged in </li></ul><ul><ul><li>Click the Folders button to display a tree hierarchy on local and remote computer or networks </li></ul></ul><ul><ul><li>Top folder is known as a root folder </li></ul></ul>
  24. 24. Web Browser FTP Use Log On As Dialog Box
  25. 25. Web Browser FTP Use Explorer Bar Showing Folder Tree Forward Server address Search Back Local Files and Folders Click the Folders button to display the Folder Tree Explorer bar
  26. 26. Web Browser FTP Use <ul><li>User can click the Views button to change the way the main browser pane lists folders and files </li></ul><ul><ul><li>As in the Windows Explorer file manager available views include Tiles, Icons, List </li></ul></ul><ul><li>The easiest way to download files from the FTP site is by dragging and dropping between Internet Explorer and a separate Computer window </li></ul><ul><ul><li>Computer window can be opened by clicking Start and then Computer </li></ul></ul><ul><ul><li>Files and folders can be dragged from Internet Explorer to the open folder in the Computer window </li></ul></ul><ul><ul><li>Multiple files can be selected by holding down the Ctrl key when making selections </li></ul></ul>
  27. 27. Web Browser FTP Use <ul><li>Files can also be downloaded from an FTP server by right-clicking the desired file in the browser window and then clicking Copy to Folder in the shortcut menu that appears </li></ul><ul><li>Standard file management tasks such as renaming, deleting, cutting, and pasting are available when accessing an FTP site with Internet Explorer </li></ul><ul><li>A warning message or symbol mouse pointer will appear if a user attempts to execute a forbidden activity </li></ul>
  28. 28. Web Browser FTP Use Copying Message Box
  29. 29. Web Browser FTP Use Browse For Folder Dialog Box
  30. 30. Web Browser FTP Use Forbidden Activity Symbol forbiddeen activity symbol indicating prohibited file movement
  31. 31. Web Browser FTP Use Review <ul><li>How can you start an FTP session using Internet Explorer? </li></ul><ul><li>What happens if a user attempts to execute a forbidden activity? </li></ul><ul><li>What techniques can you use to transfer files from an FTP server accessed via Internet Explorer? </li></ul>
  32. 32. Dedicated FTP Client Programs <ul><li>Dedicated GUI FTP client programs </li></ul><ul><ul><li>Offer additional convenient features </li></ul></ul><ul><ul><li>Feature a split-view interface </li></ul></ul><ul><ul><ul><li>Local folders/files in left pane </li></ul></ul></ul><ul><ul><ul><li>Remote server folders/files in right pane </li></ul></ul></ul><ul><ul><li>Ability to save FTP addresses and log-on information, connection wizards, and so on </li></ul></ul><ul><li>Many are shareware, some are freeware </li></ul><ul><ul><li>Filezilla – freeware and open source </li></ul></ul>
  33. 33. Dedicated FTP Client Programs FTP Command Interface Connection Wizard button Local computer folders and files Download progress Remote server folder and files
  34. 34. Dedicated FTP Client Programs Review <ul><li>What do the panes in a split-view GUI FTP client interface show? </li></ul><ul><li>How can files and folders be transferred using GUI FTP clients? </li></ul>
  35. 35. File Compression Utilities <ul><li>Use algorithms to compact the data in a file </li></ul><ul><ul><li>Resulting new file is smaller than the original </li></ul></ul><ul><ul><li>Economizes file storage, transfer, e-mail attachments </li></ul></ul><ul><li>Text files can be reduced by 50% or more </li></ul><ul><li>Many image formats are already stored in a compressed format, so savings are not significant </li></ul><ul><li>When a file is decompressed and restored, no data is lost, file size is back to original size </li></ul>
  36. 36. File Compression Utilities WinZip Classic Interface Showing Compression Statistics uncompressed file size (bytes) percentage file size reduction compressed file size (bytes)
  37. 37. File Compression Utilities <ul><li>WinZip is one of the most popular compression utilities </li></ul><ul><li>Most compression utilities create compressed files with a .zip file name extension </li></ul><ul><li>Compressing is known as zipping a file </li></ul><ul><li>Decompressing is known as unzipping or extracting a file </li></ul><ul><li>WinZip files are known as archives, and an archive can contain one or more compressed files </li></ul>
  38. 38. File Compression Utilities WinZip Wizard
  39. 39. File Compression Utilities Review <ul><li>How do compression utilities work? </li></ul><ul><li>What is an archive? </li></ul><ul><li>What file types will not result in a smaller file size when compressed using a lossless compression technology? </li></ul>
  40. 40. Software Download Sites <ul><li>Sites such as and offer freeware and shareware software programs for download and installation </li></ul><ul><li>Freeware </li></ul><ul><ul><li>Copyrighted software </li></ul></ul><ul><ul><li>Developer makes available for free distribution and use </li></ul></ul><ul><ul><li>Developer requires no compensation, but requires that software not be modified or sold </li></ul></ul><ul><ul><li>May contain more bugs or errors than commercial programs that have gone through extensive testing </li></ul></ul>
  41. 41. Software Download Sites Tucows Software Download Site Home Page Search engine Downloads sorted by operating system Download categories Other download categories
  42. 42. Software Download Sites <ul><li>Shareware </li></ul><ul><ul><li>Can be released as trial ware or demo software </li></ul></ul><ul><ul><li>Usually require payment and registration after limited trial period – usually 30 days </li></ul></ul><ul><ul><li>If not registered, software may be disabled, or pop-up windows may periodically appear to remind user to register and pay </li></ul></ul><ul><ul><li>Once registered, additional or enhanced features of the software may be enabled </li></ul></ul>
  43. 43. Software Download Sites Shareware Product Registration Screen
  44. 44. Software Download Sites Download Site Program Descriptions
  45. 45. Software Download Sites <ul><li>Mirror site server </li></ul><ul><ul><li>Duplicates the contents of another server </li></ul></ul><ul><ul><li>Takes some of the load off the busier server </li></ul></ul><ul><ul><li>Periodic updates must be made to the mirror sites to ensure they reflect any changes made to the original site </li></ul></ul>
  46. 46. Software Download Sites Download Mirror Site Selection Mirror locations Mirror sites
  47. 47. Software Download Sites File Download Dialog Box
  48. 48. Software Download Sites Review <ul><li>What is a software download site? </li></ul><ul><li>What is the difference between freeware and shareware? </li></ul><ul><li>What are mirror sites? </li></ul>
  49. 49. Online Storage <ul><li>Provide remote storage space on their servers that can be accessed online </li></ul><ul><li>Once an account is established, user can log on with a user name and password to use his or her designated storage space </li></ul><ul><li>Most providers back up the storage services to protect against data loss </li></ul><ul><ul><li>But if provider goes out of business, for example, data could still be lost </li></ul></ul><ul><ul><li>Always have a secondary backup </li></ul></ul>
  50. 50. Online Storage Online Storage Trial Offer
  51. 51. Online Storage Yahoo! Briefcase Additional Storage Space Offers
  52. 52. Online Storage Review <ul><li>What are some of the methods that can be used to upload and download files to or from an online storage service? </li></ul><ul><li>What can an online storage service be used for? </li></ul>