curl-and-php
Re: sftp using ssh2
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 12 Nov 2007 16:28:19 +0100 (CET)
Date: Mon, 12 Nov 2007 16:28:19 +0100 (CET)
On Mon, 12 Nov 2007, neugi wrote:
> thx for the quick answer. Is there any tutorial how to do so?
You top-posted and full-quoted. Please don't do that. Read this:
http://curl.haxx.se/mail/etiquette.html
But put shortly, you use SFTP exactly like you'd use any other protocol. Just
prefix the host name with Sftp://. For SFTP-specfic options, see the
curl_easy_setopt man page - for libcurl specifics that is, as I said I don't
know if the PHP binding is up-to-date or not with this.
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.html _______________________________________________ http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-phpReceived on 2007-11-12