cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: SFTP example

From: Jochen Hayek <Jochen+curl_at_Hayek.name>
Date: Wed, 14 Feb 2007 22:22:50 +0100

>>>>> "DF" == Dan Fandrich <dan_at_coneharvesters.com> writes:

On Wed, Feb 14, 2007 at 11:53:05AM -0800, Shehryar Khan wrote:

>> I'm looking to add SFTP support to my Objective-C / Cocoa program
>> using libcurl and I thought I'd get it working using the command line
>> first to get a feel for what the curl opts would be.

    DF> [...]

>> What am I missing here?

    DF> Do you want SFTP or FTPS?
    DF> It seems you're confusing them.

If you actually really wanted to do sftp,
I assume you have an account on the remote side,
that you can also ssh to.
Do you have such an account?
And if you do, can you also sftp to that account?

Otherwise I join Dan in assuming you want to do ftps.

    DF> [...]
Received on 2007-02-14