Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
–1 vote
234 views
in Java FTP by (140 points)

I am trying to create a securefiletransferclient object with an initial pool size of 100, and maximum pool size of 200. When I do that the client connection fails with an exception

Caused by: com.enterprisedt.net.j2ssh.SshException: The thread was interrupted whilst waiting for a connection protocol message

May I know if there is a limitation on the initial poolsize and maximum pool size here?

1 Answer

0 votes
by (162k points)
An initial pool size of 100 is unlikely to work. Most servers will probably ban the IP address. An initial pool size of 2 and a maximum of 5 is more realistic,

Categories

...