3com MSR 20-20 참조 매뉴얼
2374
C
HAPTER
158: FTP C
LIENT
C
ONFIGURATION
C
OMMANDS
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.
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.
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.
server.
You can use this command to access another authorized directory on the FTP
server.
server.
Example
# Change the current working directory to cf:/logfile.
[ftp] cd cf:/logfile
250 CWD command successful.
cdup
Syntax
cdup