#!/bin/bashfind anon_root -type f >> list.txtwhile read i ; do wput "$i" ftp://user:password@ip ; done < list.txt 本人测试通过 转载于:https://www.cnblogs.com/cerxp/archive/2010/06/02/1750158.html