hamburger menu
All Coursesall course arrow
adda247
reward-icon
adda247
    arrow
    arrow
    arrow
    Which of the following services is used in FTP ?
    Question

    Which of the following services is used in FTP ?

    A.

    UDP

    B.

    TCP

    C.

    SMTP

    D.

    DNS

    Correct option is B

    FTP (File Transfer Protocol) uses TCP (Transmission Control Protocol) for reliable data transfer between the client and server. TCP ensures that the files are transferred without errors and in the correct sequence by establishing a connection-oriented communication.

    Important Key Points:

    1. FTP uses two separate TCP ports:
      • Port 21: For control commands.
      • Port 20: For transferring data.
    2. TCP provides reliable and ordered delivery of data, which is critical for file transfers.
    3. FTP does not use UDP, as UDP is connectionless and does not guarantee reliable data delivery.

    Knowledge Booster:

    • UDP (User Datagram Protocol): A connectionless protocol used in applications where speed is prioritized over reliability, such as video streaming.
    • SMTP (Simple Mail Transfer Protocol): Used for sending emails, not file transfer.
    • DNS (Domain Name System): Resolves domain names into IP addresses, unrelated to FTP file transfer.
    • Secure FTP (SFTP): A secure version of FTP that encrypts data using SSH, still relying on TCP.

    Free Tests

    Free
    Must Attempt

    PSSSB Group D Full Mock Test 1

    languageIcon English
    • pdpQsnIcon150 Questions
    • pdpsheetsIcon150 Marks
    • timerIcon150 Mins
    languageIcon English
    Free
    Must Attempt

    PSSSB Excise Inspector (Paper I) Mock Test -01

    languageIcon English
    • pdpQsnIcon50 Questions
    • pdpsheetsIcon50 Marks
    • timerIcon30 Mins
    languageIcon English
    Free
    Must Attempt

    Punjab Police Constable Paper-I & II PYP (Held on 30th July 2024 Shift 1)

    languageIcon English
    • pdpQsnIcon150 Questions
    • pdpsheetsIcon150 Marks
    • timerIcon180 Mins
    languageIcon English
    test-prime-package

    Access ‘PSSSB Jail Warder’ Mock Tests with

    • 60000+ Mocks and Previous Year Papers
    • Unlimited Re-Attempts
    • Personalised Report Card
    • 500% Refund on Final Selection
    • Largest Community
    students-icon
    368k+ students have already unlocked exclusive benefits with Test Prime!
    Our Plans
    Monthsup-arrow