Don't know if the code you have showed is your original one but in
general its not a good idea to "catch and ignore" exceptions, yo either:
- simply buble up to the caller
- wrap into other exceptions if required by the API
- explicitly handle/document
I'm using comons-ftp for large files and small files and it always has
worked quite well.
Am 04.06.20 um 14:10 schrieb Julia Ruzicka:
@Robert Paasche
At first I tried to do it with a `FileOutputStream` and
`ftpClient.retrieveFile(fileName,fos)` but that's how I noticed the problem. I
then switched to using ` InputStream is =
ftpClient.retrieveFileStream(filename)` and when that didn't work properly
either, I added ` BufferedInputStream bis = new BufferedInputStream(is)`.
What type of files are you downloading?
What's your `content` and how do you write the data? With a DataOutputStream?
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]