[
https://issues.apache.org/jira/browse/NET-409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13773647#comment-13773647
]
Sebb commented on NET-409:
--------------------------
Is the file actually truncated, or just shorter?
The difference is that a truncated file has some bytes missing from the end,
whereas a shorter file may have bytes missing anywhere.
One cause of missing bytes is using ASCII file transfer inappropriately.
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira