Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
2.6k views
in Java FTP by (120 points)
Hi,
Could somebody help me with setting a timeout for FTP session using edtftp API?. I have a program that dials using dialup to connect to FTP to download file and sometimes, the program waits for a long time when it reaches the code that downloads even though the size of the file is small. Is there anyway I can put a timeout for the ftp session?.I appreciate your help

Thank You
Andy Jaya

1 Answer

0 votes
by (51.6k points)
Have you tried using FTPClient.setTimeout(int)?

- Hans (EDT)

Categories

...