FtpClient.storeFile(), last packet data loss bug
------------------------------------------------

                 Key: NET-413
                 URL: https://issues.apache.org/jira/browse/NET-413
             Project: Commons Net
          Issue Type: Bug
          Components: FTP
    Affects Versions: 3.0
         Environment: Client : Windows XP, Eclipse3.5, JVM 1.6
Server : Sun Sparc, Pro FTPD
            Reporter: Junho Hong


When I upload some jpeg files to FTP server, a few files have smaller size than 
orgiginal file.

In the server, uploaded files size are 1024 * n

So I changed org.apache.commons.net.ftp.FTPClient.java (line number 570, 
parameter flush), 'false' to 'true'

And it solved...

Please check it...

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to