Question: Is FTP A TCP Or UDP?

FTP itself uses the TCP transport protocol exclusively, or in other words, it never uses UDP for its transport needs.

Typically an application layer protocol will use one or the other.

One notable exception to that is DNS or Domain Name System.

FTP also is odd in the fact that it uses two ports to accomplish its task.

What protocol does FTP use?

Transmission Control Protocol

What is the difference between FTP and UDP?

UDP is a transport protocol responsible for moving data from source to destination. FTP is a protocol for transferring files; a common example is managing files on a webserver. FTP uses TCP on port 21. TFTP (trivial file transfer protocol) does use UDP, however, on UDP port 69.


SSH always uses TCP as it is connection-oriented, whereas UDP is connectionless (refers to network protocols that a host can send a message without establishing a connection in hopes that the message will reach its destination.)

Is FTP part of TCP IP?

File Transfer Protocol (FTP) is a standard Internet protocol for transmitting files between computers on the Internet over TCP/IP connections. FTP is a client-server protocol where a client will ask for a file, and a local or remote server will provide it.