cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: sftp help with curl-7.16.1 and libssh2-0.1

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Thu, 5 Apr 2007 17:44:23 -0700

On Thu, Apr 05, 2007 at 05:00:25PM -0700, Mike Hanna wrote:
> I'm trying to use curl for ftp, tftp and sftp in a linux appliance my company is working on. It's running on centos 4, so I build both the curl and libssh2 libraries on a build server and transfer them to a test machine. Ftp works fine for copying files to or from the server. Using the same code, sftp appears to connect but is having trouble opening a file for reading or writing. Here is the code I'm using to set up the transfer (same for both ftp and sftp):

sftp support is pretty new in libcurl and is still getting the kinks worked
out. I suggest trying the latest daily snapshots or CVS of both curl and
libssh2.

Have you been able to perform your sftp transfer using the curl command-line
tool?

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2007-04-06