FTP & TFTP Flashcards
(6 cards)
1
Q
What is the use case for TFTP?
A
As traffic is unencrypted, its best used for quick file transfers in a controlled environment
2
Q
How does TFTP ensure reliability despite using UDP?
A
The reciever must send an “ack” when it recieves a message, if it does not, resend (“lock-step” communication)
3
Q
What are the three phases of TFTP
A
- Connection
- Data Transfer
- Connection Termination
4
Q
What is the main difference between TFTP and FTP?
A
TFTP uses UDP while FTP uses TCP (20, 21). FTP also allows for finer controls like creating and changing directories
5
Q
How does FTP work?
A
FTP forms an initial connection using TCP 21 and then using TCP 20 when actually transferring files
6
Q
What are the two FTP modes?
A
- Active mode - server initiates connection
- Passive mode = Client initiates TCP connection (usually due to firewall)