commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gvasconce...@baufest.com
Subject Re: [VFS] Set ftp connection timeout in commons.VFS
Date Fri, 16 Sep 2005 18:17:31 GMT
That's quick!
I downloaded it and will give it a try. It seems exactly what I needed.
Thanks
Guillermo Vasconcelos

> The next nightly will allow you to set the data timeout through
> fileSystemOptions.
>
>         FileSystemOptions opts = new FileSystemOptions();
>         FtpFileSystemConfigBuilder.getInstance().setDataTimeout(opts,
> new Integer(10));
>         FileObject fo = VFS.getManager().resolveFile("ftp://...", opts);
>
> Hope this helps!
> ---
> Mario
>


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


Mime
View raw message