A SERVICE OF

logo

2374 CHAPTER 158: FTP CLIENT CONFIGURATION COMMANDS
FTP usprovides two file transfer modes: ASCII and binary. To transfer text files, use
the ASCII mode; to transfer program files, use the binary mode.
By default, the transfer mode is ASCII mode.
Example # Set the file transfer mode to binary.
[ftp] binary
200 Type set to I.
bye
Syntax bye
View FTP client view
Parameter None
Description Use the
bye command to disconnect from the remote FTP server and exit to user
view.
Example # Terminate the connection with the remote FTP server and exit to user view.
[ftp] bye
221 Server closing.
cd
Syntax cd pathname
View FTP client view
Parameter pathname: Path name.
Description Use the
cd command to change the current working directory on the remote FTP
server.
You can use this command to access another authorized directory on the FTP
server.
Example # Change the current working directory to cf:/logfile.
[ftp] cd cf:/logfile
250 CWD command successful.
cdup
Syntax cdup