cURL / Mailing Lists / curl-library / Single Mail

curl-library

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

From: Mike Hanna <mikehanna_at_yahoo.com>
Date: Thu, 5 Apr 2007 18:20:54 -0700 (PDT)

Dan,
Thanks for the quick reply. I did try using command line curl, but without success. Here's what I saw:

name=0:t
name_len=0
instruction=??
instruction_len=0
num_prompts=1
connect didn't happen
curl: (2) Authentication failure

Thanks for the help. I'll give the latest code a shot.
Mike

----- Original Message ----
From: Dan Fandrich <dan_at_coneharvesters.com>
To: curl-library_at_cool.haxx.se
Sent: Thursday, April 5, 2007 8:44:23 PM
Subject: Re: sftp help with curl-7.16.1 and libssh2-0.1

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
 
____________________________________________________________________________________
Finding fabulous fares is fun.  
Let Yahoo! FareChase search your favorite travel sites to find flight and hotel bargains.
http://farechase.yahoo.com/promo-generic-14795097
Received on 2007-04-06