You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Ralph Goers (JIRA)" <ji...@apache.org> on 2009/11/15 09:38:39 UTC

[jira] Resolved: (VFS-127) Need ability to set default timeout on FTP provider

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

Ralph Goers resolved VFS-127.
-----------------------------

       Resolution: Duplicate
    Fix Version/s: 2.0

VFS-216 appears to be a duplicate of this. The patch supplied with that issue was applied.

> Need ability to set default timeout on FTP provider
> ---------------------------------------------------
>
>                 Key: VFS-127
>                 URL: https://issues.apache.org/jira/browse/VFS-127
>             Project: Commons VFS
>          Issue Type: Improvement
>    Affects Versions: 1.0
>            Reporter: Tom Duffey
>             Fix For: 2.0
>
>
> VFS currently allows setting the "data timeout" for FTP connections but does not provide any way to set the "default timeout" for establishing new connections.  This would be extremely useful because otherwise the connection will hang forever.  The fix is trivial, I'll supply a patch later but in general you just add another option to the FtpFileSystemConfigBuilder and then when set you call:
> client.setDefaultTimeout(value)
> in FtpClientFactory.java

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