Re: Bug spot in commons-net-3.5

2016-07-08 Thread sebb
2016-07-08 7:17 GMT+01:00 MBCRAFT : > I don't know if it depends from the ftp server : i'm using vsftpd. > > I've followed that example, more or less, and i even didn't missed the > > FTP.NON_PRINT_TEXT_FORMAT , FTP.STREAM_TRANSFER_MODE , and > FTP.FILE_STRUCTURE are the only supported formats, tra

Re: Bug spot in commons-net-3.5

2016-07-07 Thread MBCRAFT
I don't know if it depends from the ftp server : i'm using vsftpd. I've followed that example, more or less, and i even didn't missed the /|FTP.NON_PRINT_TEXT_FORMAT |//, //|FTP.STREAM_TRANSFER_MODE |//, and //|FTP.FILE_STRUCTURE |//are the only supported formats, transfer modes, and file stru

Re: Bug spot in commons-net-3.5

2016-07-07 Thread sebb
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 : > 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

Re: Bug spot in commons-net-3.5

2016-07-07 Thread Gary Gregory
Hi Marco, Could you please provide unit test that demonstrates the problem? Gary 2016-07-07 12:45 GMT-07:00 MBCRAFT : > 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 mis

Bug spot in commons-net-3.5

2016-07-07 Thread MBCRAFT
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. -- [-