This visual execution trace shows how FTP and SFTP protocols work for file transfer. The user starts by choosing a protocol, then connects to the server. FTP connects on port 21 and sends login details in plain text, while SFTP connects on port 22 and encrypts all communication. Both protocols send commands to upload files and transfer data, but FTP uses a separate data connection and SFTP uses a single encrypted channel. After file transfer, the connection closes. The variable tracker shows connection status, authentication method, and file transfer progress at each step. Key moments highlight FTP's lack of security, the difference in connection usage, and what happens if connection is lost. The quiz tests understanding of login security, file transfer steps, and authentication changes. The snapshot summarizes the main points: FTP is older and less secure, SFTP is encrypted and safer for file transfers.