I just tried downloading a file using the FTPClientExample and it worked fine.
Remember to set the binary transfer mode if necessary. 2016-07-07 20:45 GMT+01:00 MBCRAFT <i...@mbcraft.it>: > Hi! I spot a bug in commons-net-3.5 .... it seems that the ftp client misses > the last bytes on large downloaded files. > I did some tests with a 7 MB file, and it always missed the last kb. > I've tried some quick fix, but i wasn't able to solve my problem. > > Kind regards > > -Marco B. > > -- > [--------------------------------------- > [MBCRAFT di Marco Bagnaresi - Software development services > [Via ca' del vento, 11 > [CAP 48012 - Bagnacavallo(RA) > [C.F. : BGNMRC82H03E730O > [P.IVA/VAT N. : 02475790396 > [Website : http://www.mbcraft.it > [Standard mail : i...@mbcraft.it > [PEC : mbcr...@pec.it > [--------------------------------------- > [ > [ > [Informativa ai sensi del codice della privacy (D.Lgs 196-30/06/2003) > [Questo messaggio è destinato unicamente ai soggetti indicati > nell'intestazione. > [In caso di ricezione erronea si prega di informare il mittente e di > eliminare > [il messaggio secondo le norme relative al trattamento dei dati personali. > [La diffusione impropria in qualsiasi forma delle informazioni contenute in > questo messaggio sono proibite > [dalla legge. Questo messaggio può contenere informazioni non corrette. > [Può rivolgersi alla nostra azienda per richiedere informazioni su titolare > e responsabili del trattamento e > [per esercitare i diritti previsti dall'Art.7 del D.lg.196/2003 > [inviando una mail con oggetto “Privacy”. > [ > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > For additional commands, e-mail: dev-h...@commons.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org