Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
200 views
in Java FTP by (140 points)
My question is regarding SecureFileTransferClient when used with SFTP protocol. I have used it before with FTP protocol in passive mode. So, it allows me connect over multiple port. Basically, I have multiple threads that can connect to FTP simultaneously.

Can I use SFTP protocol in PASSIVE mode? My requirement is that hundreds of thread can connect to SFTP server over a period of 30 seconds or 1 minutes and download different files.

1 Answer

0 votes
by (153k points)
SFTP doesn't use passive mode - that's for FTP or FTPS (you might be talking about FTPS).

Hundreds of connections from a client may not work as there is usually a limit to the number of network connections you can open on a client machine. The server may also ban you for having too many connections - this will look like a DOS attempt.

Categories

...