ftp -i -n $HEN_FTP_SERV $HEN_FTP_PORT <<AUTO_FTP user $HEN_FTP_USER $HEN_FTP_PASS passive binary cd $HEN_FTP_QUERY_PATH lcd $ftp_lcd mget $query_fname mdelete $query_fname AUTO_FTP
原文转自:http://www.ltesting.net