FTP moves files in cleartext, including usernames and passwords. SFTP runs file transfer inside an encrypted SSH session, so credentials and contents are protected in transit.
| No. | Step | Source | Destination | Type | Info |
|---|---|---|---|---|---|
| 1 | Files moving | backup script | hotel Wi-Fi | REQUEST | upload backup.tar |
| 2 | Files moving | hotel Wi-Fi | FTP server | REQUEST | — |
FTP moves files in cleartext, including usernames and passwords. SFTP runs file transfer inside an encrypted SSH session, so credentials and contents are protected in transit.
21 for control and 20 (or a random high port) for data.22, with one encrypted channel for commands and data.990.