可能是因为端口不通,在上传文件之前调用方法ftpClient.enterLocalPassiveMode()试试相关博文http://blog.csdn.net/beyondlpf/article/details/9343781
看程序,才知道 原因 了。。。。。。。。。