commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (NET-409) FTPClient truncates file (storeFile method)
Date Mon, 23 May 2011 19:55:47 GMT

     [ https://issues.apache.org/jira/browse/NET-409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sebb resolved NET-409.
----------------------

    Resolution: Fixed

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

Mime
View raw message