Re: how works ftp_ssl_connect?

From: Date: Tue, 29 Apr 2003 17:19:53 +0000
Subject: Re: how works ftp_ssl_connect?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-145678@lists.php.net to get a copy of this message
On Wednesday 30 April 2003 00:15, Markus Krause wrote: [snip] > then i used ftp_ssl_connect with port 22 (if i use sftp it works and > everything runs over port 22). but with php i could not get a > connection. in /var/log/messages it says: > > ---8<--- > Did not receive identification string from ::ffff:141.61.1.25 > --->8--- > > what now?? > > or is this function not for use with the sftp-server from the > ssh-package? sftp is different to ftp-over-ssl. The former transfers file over the ssh protocol (and really has nothing to do with ftp). In short, you cannot use ftp_ssl_connect() to connect to an sftp-server. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* New York is real. The rest is done with mirrors. */

« previous php.general (#145678) next »