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

Pablo Perez commented on NET-54:
--------------------------------

Is this related to "net] FTPClient.retrieveFile() results in 0 byte files" ?

If it is, how can I solve it? Do I have to wait for the next version of 
commons-net ?

> [net] FTPReply.isPositivePreliminary(int) returns false when reply = 220 
> (Server ready) Causes FTPClient.retrieveFile(String, OutputStream) to fail
> ---------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: NET-54
>                 URL: https://issues.apache.org/jira/browse/NET-54
>             Project: Commons Net
>          Issue Type: Bug
>    Affects Versions: 1.4
>         Environment: Operating System: other
> Platform: PC
>            Reporter: Jeff Barnes
>
> public static boolean isPositivePreliminary(int reply)
>     {
>         return (reply >= 100 && reply < 200);
>     }
> should be changed to
>     public static boolean isPositivePreliminary(int reply)
>     {
>         return (reply >= 100 && reply < 220); //or is it some other magic 
> number?
>     }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to