System Administration Guide: Network Services

How to Close an ftp Connection to a Remote System

Close an ftp connection to a remote system by using the bye command.

ftp> bye
221-You have  transferred 0 bytes in 0 files.
221-Total traffic for this sessions was 172 bytes in 0 transfers.
221-Thanks you for using the FTP service on spdev.
221 Goodbye.

A goodbye message appears, followed by your usual shell prompt.