要用SHELL函数:shell(dir xxxx)DOS底下的FTP 你可以查帮助FTP -? 然后按照你的需要写命令.例如:shell("ftp 12.216.10.10 -s:a.txt")在a.txt里定义你的所有输入行:youruseridpassword(或anonymous)cd .\data\200804\01\dir *.xls quit