cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Re: sftp using ssh2

From: neugi <neugii_at_gmail.com>
Date: Mon, 12 Nov 2007 14:32:10 +0100

Hi,

thx for the quick answer. Is there any tutorial how to do so?

thx, best

2007/11/12, Daniel Stenberg <daniel_at_haxx.se>:
>
> On Mon, 12 Nov 2007, neugi wrote:
>
> > is there a way to make an upload to an ftp with this settings: sftp
> using
> > ssh2 with an php script?
>
> If you use sftp, it is not ftp. Don't think they are even remotely the
> same.
>
> But yes, if you build libcurl with SSH support (libssh2), you should be
> able
> to make your PHP script do both SCP and SFTP transfers just fine. Given
> that
> the PHP/CURL binding has the necessary options available - if it doesn't
> it
> should be an easy fix.
>
> --
> Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
> _______________________________________________
> http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
>

_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2007-11-12