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

Xinfeng.Chen resolved NET-658.
------------------------------
    Resolution: Not A Bug

I inspected the codes and found that there is a method which can set port range 
to avoid this. Sorry!

> FTPClient.retrieveFile hang due to data connection failure
> ----------------------------------------------------------
>
>                 Key: NET-658
>                 URL: https://issues.apache.org/jira/browse/NET-658
>             Project: Commons Net
>          Issue Type: Bug
>          Components: FTP
>    Affects Versions: 3.6
>         Environment: Server:
> FileZilla Server 0.9.60 beta
> windows 10 x64
>  
> Client:
> Linux 3.10.0-327.el7.x86_64 #1 SMP Thu Nov 19 22:10:57 UTC 2015 x86_64 x86_64 
> x86_64 GNU/Linux
> java 1.8.0_11
>  
>  
>            Reporter: Xinfeng.Chen
>            Priority: Major
>         Attachments: 2018-3-2 17-02-57.png
>
>
> When retrieving files from FTP server, the client will open a data connection 
> with an in-use port and failed in server, but the client hung in this 
> function(no error, no exception, even the connection is closed due to timeout 
> by server). This will occur after successfully getting hundreds of files (I 
> have more than 4000 small files to be transferred, it will fail after 100+ or 
> 300+ or 400+ files. It always fail to FTP 4000 small files.)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to