curl-library
Re: basic FTP functions
Date: Thu, 4 Oct 2012 09:09:11 -0400
Yes SFTP is what I'm looking for, however the libssh2 code seems a lot more
confusing than libcurl. For normal FTP via wininet each function I
mentioned is one line of code, so I'm sure theres a simple way of doing it
in libcurl, I just cant seem to get it. Any ideas?
On Wed, Oct 3, 2012 at 8:39 AM, Maxime Larocque <maxmtl2002_at_yahoo.ca> wrote:
> Hi Khaled,
>
> Le 03/10/2012 08:17, Khaled El Manawhly a écrit :
>
>> I'm trying to make a command line program that allows for basic FTP
>> functionality over an SSH connection.
>>
>
> Do you want a sftp functionality (sftp is the file transfer protocol for
> ssh) or a traditional FTP somehow put over a SSH connection?
>
>>
>> Specifically I need to open a connection, then ask the user which of
>> these functions he would like to perform:
>>
>>
>> curl uses libssh2 to provide sftp connectivity; you can check it at
> www.libssh2.org <http://www.libssh2.org/>. Take a look at the libssh2
> examples. It may be a better fit for your application, if you only plan to
> support sftp. Otherwise curl is good at supporting a number of known and
> less known protocols.
>
>
> Regards,
>
> Maxime
>
> ------------------------------**------------------------------**-------
> List admin: http://cool.haxx.se/list/**listinfo/curl-library<http://cool.haxx.se/list/listinfo/curl-library>
> Etiquette: http://curl.haxx.se/mail/**etiquette.html<http://curl.haxx.se/mail/etiquette.html>
>
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-10-04