root@xxx:/home# ftp xxx.19.254.61220 xx-xx-xx-xxx-SW-2 FTP version 1.0 readyUsing binary mode to transfer files.local: config.cfg remote: config226 File sent OK
282
我正在写一个shell脚本,需要使用ftp下载补丁。有不同版本的补丁,但我想下载与模式*$ver_LINUX*或*$ver_Generic*匹配的补丁。下面的mget命令不允许我为此使用或(|)选项。谁能建议这是不是可以在ftp和如何。ftp -inv $FTP <<EOFquote PASS $ftp_passbinary # for zip files.
ls # Just
我有一个检查目录是否存在的FTP方法。它在开始时工作得很好,但是现在,即使目录不存在,它仍然返回true。这是我的FTP方法。public bool directoryExists(string directory) /* Create an FTP RequestServer with the User Name and Password Provided */
ftpRequest.Credentials =