cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

Re: libcurl and libssh2

From: Kamil Dudka <kdudka_at_redhat.com>
Date: Fri, 9 Oct 2009 10:16:08 +0200

On Friday 09 of October 2009 10:05:50 Xu, Qiang (FXSGSC) wrote:
> By the way, from http://curl.netmirror.org/docs/manual.html, I got to know
> that ---
>
> 1. Get a file from an SSH server using SFTP:
>
> curl -u username sftp://shell.example.com/etc/issue
>
> 2. Upload data from a specified file, login with user and password:
>
> curl -T uploadfile -u user:passwd ftp://ftp.upload.com/myfile
>
> This is command-line usage. Our printer is using the library, so I want to
> know what option should be set with curl_easy_setopt(), in case of file
> transfer via SFTP?

http://curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTURL

Kamil
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2009-10-09

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET