in reply to
FTP: Unable to close datastream
First, thank you for taking the time to read the posting FAQs so that your question is clear. OK, now to your problem. I think the 'unable to close datastream' is a red-herring. The message before that indicates that the transfer timed out. It's not clear from the debug output how much time passed between when the transfer started and when it reported a timeout. Here is what I would try:
- Make sure you can execute these commands using a manual ftp client.
- If the file transfers manually, but the connection is slow, you can bump the timeout up. It defaults to 120 seconds
- Do you have to use passive mode? Will it work in active?
- If you have permission, turn up debugging on the ftp server. It might give you more info on what is failing