Page 1 of 1

SFTP failed

Posted: Thu Nov 05, 2009 3:50 am
by vinoth
Hi all,

One of my project, I need to download the file from sftp server.

I tried ftp_ssl_connect('sftp.domainname.com',22) - this function won't return anything, it fails I think.
I already working another 3 ftp servers using ftp_connect, thats working fine.

I am trying this issues for 2 days, still I didn't get any solutions.

Anybody guide me or provide some instruction to download the files from sftp server.

Thanks in advance
Vinoth

Re: SFTP failed

Posted: Thu Nov 05, 2009 9:03 am
by AbraCadaver
SFTP is not FTP over SSL. SFTP is SSH File Transfer Protocol and has noting to do with FTP. FTP over SSL is FTP encrypted by SSL. They are two totally separate things.

-Shawn

Re: SFTP failed

Posted: Thu Nov 05, 2009 11:23 pm
by vinoth
Hi shawn,
Thanks for your reply.

I never tried ssh methods,
I tried few steps from google.

I install ssh2 library & PECL.
I tried with localhost, but I didn't get any positive results.

Can you guide me to do that..

-Vinoth