Bitzu

100-150 CCST ยท Network models, types and protocols

File transfer and web protocols

FTP, SFTP, TFTP, HTTP and HTTPS: purpose, default ports and whether traffic is encrypted.

Key points

  • FTP: file transfer, TCP port 21, unencrypted.
  • SFTP: file transfer over SSH, port 22, encrypted.
  • TFTP: simple file transfer, UDP port 69, no authentication or encryption.
  • HTTP: web pages, TCP port 80, unencrypted.
  • HTTPS: HTTP with TLS, TCP port 443, encrypted.

Source: https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml

Practice questions

Single choice

What is the default port of HTTP?

  1. 21
  2. 80
  3. 443
  4. 69
Show answer

Answer: B. 80

HTTP uses TCP port 80. Port 443 is HTTPS, 21 is FTP and 22 is SSH/SFTP.

Select all that apply

Which of these protocols send their data without encryption by default?

  1. FTP
  2. SFTP
  3. HTTP
  4. HTTPS
  5. TFTP
Show answer

Answer: A. FTP, C. HTTP, E. TFTP

FTP, TFTP and plain HTTP send data in clear text. SFTP (via SSH) and HTTPS (via TLS) encrypt it.

True or false

SFTP is simply FTP with an encryption layer added, still using port 21.

Show answer

Answer: False

False. SFTP is a different protocol that runs over an SSH session on port 22. FTP over TLS is a separate thing again.

Practice 8 questions on this topic in Bitzu

Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.

Download on the App StoreGet it on Google Play

More 100-150 CCST topics in this module