commons-issues mailing list archives

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

    [ https://issues.apache.org/jira/browse/NET-409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13037092#comment-13037092
] 

Sebb commented on NET-409:
--------------------------

Works fine for me. You'll need to provide sample code that fails on 3.0 and works with 2.2.

Please try using the example code as follows:

java examples.ftp.FTPClientExample -s <host> <user> <password> <remotefile>
<localfile>



> 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