设置 ftp 的模式为 binary ,一般默认的是 ascii .[code=cmd] ftp> help Commands may be abbreviated. Commands are:! delete literal prompt send ? debug ls put status append dir mdelete pwd trace ascii disconnect mdir quit type bell get mget quote user binary glob mkdir recv verbose bye hash mls remotehelp cd help mput rename close lcd open rmdir ftp> help ascii ascii Set ascii transfer type ftp> help binary binary Set binary transfer type ftp>[/code]
已经很多次了,你们都没人遇到过吗?就是文件用FTP上传,最后好像有一小部分没传过去 一样..
ftp> help
Commands may be abbreviated. Commands are:! delete literal prompt send
? debug ls put status
append dir mdelete pwd trace
ascii disconnect mdir quit type
bell get mget quote user
binary glob mkdir recv verbose
bye hash mls remotehelp
cd help mput rename
close lcd open rmdir
ftp> help ascii
ascii Set ascii transfer type
ftp> help binary
binary Set binary transfer type
ftp>[/code]