Apache Commons Net FTP is uploading corrupted files
问题 I'm trying to use Apache Commons Net for FTP file transfers. Problem is files are intermittently arriving at the server corrupt. By 'corrupt' I mean that WinRAR tells me a ZIP file has an 'Unexpected end of archive' . Sometimes the files are completely empty. I have noticed that this happens more for larger files (100kb+), however does happen for small files too (20kb). I know for a fact that the source zip file being uploaded is valid, and is only 243kb. I do not get any errors/exceptions