@ julia.ruzicka
content  is just a simple POJO holding the byte and meta data (like
timestamps). In some situations I'm using a fileoutputstream after
disconnecting from ftp.  I'm downloading large (>300 mb) zip-Files.

Am Do., 4. Juni 2020 um 14:10 Uhr schrieb Julia Ruzicka <
[email protected]>:

> @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]
>
>

Reply via email to