sh批量上传目录到FTP #!/bin/bashfind anon_root -type f >> list.txtwhile read i ; do wput "$i" ftp://user:password@ip ; done < list.txt 本人测试通过