[
https://issues.apache.org/jira/browse/NET-409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13038171#comment-13038171
]
Sebb edited comment on NET-409 at 5/23/11 8:02 PM:
---------------------------------------------------
That explains why my test worked and yours did not. As it happens, the file I
used was a multiple of 2k bytes, so the error was not exposed.
Code has been fixed now, and will be in the next release.
Snapshot has been uploaded to
https://repository.apache.org/content/repositories/snapshots/commons-net/commons-net/3.0.1-SNAPSHOT/
Thanks for reporting the issue.
was (Author: [email protected]):
That explains why my test worked and yours did not. As it happens, the file
I used was a multiple of 2k bytes, so the error was not exposed.
Code has been fixed now, and will be in the next release.
I'll upload 3.0.1 SNAPSHOT shortly if you want to try that.
> FTPClient truncates file (storeFile method)
> -------------------------------------------
>
> Key: NET-409
> URL: https://issues.apache.org/jira/browse/NET-409
> Project: Commons Net
> Issue Type: Bug
> Components: FTP
> Affects Versions: 3.0
> Environment: Windows 7/Eclipse 3.6.2
> Reporter: Jon Ericson
> Fix For: 3.0.1
>
>
> Functionality works fine on commons-net-2.2. Error occurred after upgrading
> library to commons-net-3.0 version. Sending a file from Windows 7 to
> CentOS/Linux using FTPClient storeFile method results in truncation of files
> over 2k in size. Rolling back upgrade to commons-net-2.2 version fixes
> problem.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira