Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
4.8k views
in Java FTP by
Hello,

I'm using edtftpj 1.4.0 quite well.

If I'm using the timeout-method, what param,eter do I set? milliseconds or seconds?

If I don't set a timeout, I get an timeout after 600 seconds.

If I set the timeout by using ftpclient.setTimeout(10000), I'm waiting more than 20 minutes for the timeout, that should occur after 10 seconds... I dont know whats going on there.

Can you give me a hint, please?

Thank you

3 Answers

0 votes
by (162k points)
Read timeout is milliseconds, however this is not the same as the FTP server's idle time.

Hello,

I'm using edtftpj 1.4.0 quite well.

If I'm using the timeout-method, what param,eter do I set? milliseconds or seconds?

If I don't set a timeout, I get an timeout after 600 seconds.

If I set the timeout by using ftpclient.setTimeout(10000), I'm waiting more than 20 minutes for the timeout, that should occur after 10 seconds... I dont know whats going on there.

Can you give me a hint, please?

Thank you
0 votes
by
Thank oyu.

How can I set the server's idle timeout?

thank you
0 votes
by (162k points)
That depends on the server configuration. It is not something you can generally do from a client.

Thank oyu.

How can I set the server's idle timeout?

thank you

Categories

...