1 / 15

File Transfer Protocol (FTP)

File Transfer Protocol (FTP). The standard mechanism provided by the Internet for copying a file from one host to another. The needs: - Different file name conventions Different representation of text and data Different directory structures. FTP (Continued…).

levana
Download Presentation

File Transfer Protocol (FTP)

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. File Transfer Protocol (FTP) • The standard mechanism provided by the Internet for copying a file from one host to another. • The needs: - • Different file name conventions • Different representation of text and data • Different directory structures Application Layer

  2. FTP (Continued…) • Differs from other client-server applications in that it establishes two connections between the client and the server. They are: - • Data connection • Used for data transfer • Consists of complex rules due to the variety of data being transferred • Control connection • Used for information control (commands and responses) • Uses very simple rules of one line command or response at a time Application Layer

  3. FTP Model • FTP client has three components • User interface • Client control process • Client data transfer process • FTP server has two components • Server control process • Server data transfer process Application Layer

  4. Figure 26.12FTP

  5. FTP Connections • Control connection • Maintained during the entire FTP session • Uses port 21 • Involves interactive connection between user and server • Data connection • Maintained only during a file transfer • Uses port 20 Application Layer

  6. FTP Communications • Communication over control connection • Uses ASCII character set, similar to SMTP • Communication over data connection • File type • Data structure • Transmission mode Application Layer

  7. Figure 26.13Using the control connection

  8. Figure 26.14Using the data connection

  9. File Transfer • File transfer in FTP can mean one of the following three: - • Storing a file • Retrieving a file • Retrieving a list • Most operating systems provide user interface to access the services of FTP where the chosen activity is automatically converted by the interface to the corresponding FTP commands. Application Layer

  10. Figure 26.15File transfer

  11. Figure 26.16Example 1

  12. List of FTP commands in DOS

  13. List of FTP commands in UNIX

  14. FTP Connection Example Application Layer

  15. GUI FTP Example Application Layer

More Related