3com S7906E Guide De Référence

Page de 2327
 
2-6 
ascii 
Syntax 
ascii 
View 
FTP client view 
Default Level 
3: Manage level 
Parameters 
None 
Description 
Use the ascii command to set the file transfer mode to ASCII. 
FTP provides 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 file transfer mode is ASCII. 
Examples 
# Set the file transfer mode to ASCII. 
[ftp] ascii 
200 Type set to A. 
binary 
Syntax 
binary 
View 
FTP client view 
Default Level 
3: Manage level 
Parameters 
None 
Description 
Use the binary command to set the file transfer mode to binary (also called flow mode). 
FTP provides 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.