commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Carman" <ja...@carmanconsulting.com>
Subject [vfs] Timeout?
Date Thu, 24 Jan 2008 18:25:14 GMT
Is there any consistent way to specify a timeout for a file?  In our
application, we download files from a public server.  We have some
files that are HTTP and some that are FTP.  We're using one method to
support all files by passing in a URL.  We sometimes run into a
situation where the download appears to "hang."   If we run the
process again, it works fine.   What I'd like to do is set up a
timeout/retry facility.  Is there any way to do that?  We're using the
FileUtil.copyContent() method.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message