Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
7.6k views
in Java FTP by (200 points)
http://www.enterprisedt.com/products/ed ... nnels.html

The reader may be aware that FTP operates with two types of channels: control and data. Only one control-channel is used in each session, but several data-channels may be used

5 Answers

0 votes
by (51.1k points)
Firstly, you will need edtFTPj/PRO as edtFTPj/Free doesn't support FTPS.

Once you've downloaded the trial, please refer to this how-to for instructions on establishing an FTPS connection (with AUTH/PBSZ/PROT).

- Hans (EntepriseDT)
0 votes
by (200 points)
Thanks for the replay.
We're reviewing edtFTPj/PRO.
Please provide any documentation on AUTH/PBSZ/PROT - how to use SSLFTPClient object with AUTH/PBSZ/PROT features?
0 votes
by (161k points)
You generally don't need to do anything with AUTH/PBSZ/PROT - these commands will be sent automatically by edtFTPj/PRO.
0 votes
by (140 points)
Hi support,

Your last statement confuses me a little. Does it mean that by using edtFTPj/PRO we start a secure FTP by default? Do we not have to use the below commands in our code at all?

ftp.auth(SSLFTPClient.AUTH_TLS);
ftp.pbsz(0);
ftp.prot(SSLFTPClient.PROT_PRIVATE);

What if we do not want a secure data transfer in some senarios?
0 votes
by (161k points)
If you are using SSLFTPClient (rather than SecureFileTransferClient):

ftp.connect();
ftp.auth(SSLFTPClient.AUTH_TLS);
ftp.login(username, password);


Skip the auth() line for non-secure FTP.

Categories

...