Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
in Java FTP by (120 points)
Hi Team,

I'm using Java FTP to connect my ftp server and download the file. In the FtpClient Object I'm not specify which mode of FTP connection to make with server so FtpClient use which one as default FTP mode (active or passive)? I'm using ftp and ftps for file transfer

1 Answer

0 votes
by (6.4k points)

Please see here. Usually it depends on whether you are a client or a server. For the client , passive mode is best. for the server it is the other way around, although servers are used to making it easy for clients and often use passive. Default mode is passive.