You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Tom Duffey (JIRA)" <ji...@apache.org> on 2007/04/18 19:22:15 UTC
[jira] Created: (VFS-127) Need ability to set default timeout on
FTP provider
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
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.
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org
[jira] Commented: (VFS-127) Need ability to set default timeout on
FTP provider
Posted by "Tom Duffey (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/VFS-127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12489830 ]
Tom Duffey commented on VFS-127:
--------------------------------
Actually, this won't be very useful into Commons Net 2.0 thanks to 1.4.x not really supporting connection timeouts.
> 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
>
> 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.
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org