PDA

View Full Version : Secure FTP over SSL


shashi2309
02-24-2009, 06:25 AM
Hi,

We have a requirement wherein a secure FTP implementation on a machine works over SSL and not SSH. I am using a JSCAPE client to perform secure FTP on this machine. I know that in case if ssh was running on this machine then we could have connected using the following code

SshParameters params = new SshParameters(host,user,password);
Sftp sftpClient = new Sftp(params);
sftpClient.connect();

How should I connect for SSL transport?
Please suggest
Thanks in advance

shashi2309
02-24-2009, 10:11 AM
Probably we need to specify the port as well.

SshParameters params = new SshParameters(host,port,user,password);
Sftp sftpClient = new Sftp(params);
sftpClient.connect();

Please suggest

shashi2309
02-24-2009, 12:21 PM
Ok, I got the answer, we need to use Ftps instead of Sftp

mjawwad
10-19-2009, 03:03 AM
ZootabaW73,

Secure FTP Factory for Java already supports FTP over SSL. Please see the following links for more information :

1) Product link : http://www.jscape.com/sftp/index.html
2) Doc link : http://www.jscape.com/sftp/docs/index.html

Best Regards,