curl-library
Re: Generally questions about curl
Date: Sun, 14 Jul 2013 18:39:56 +0200
*| Can you be more specific? What "some examples" are you referring to? **
*
http://www.paehl.com/open_source/?CURL_7.30.0
... Curl is a command line tool for transferring files with URL syntax,
supporting FTP, FTPS, HTTP, HTTPS, GOPHER, TELNET, DICT, FILE and LDAP.
Curl supports ...
MANUAL example:
Get a file from an SSH server using SFTP:
curl.exe -u username sftp://shell.example.com/etc/issue
*| **You can use libcurl but you can't use some specific parts of the API?*
Yes, that it. For sure I can declare the lib as:
Declare LIB "libcurl.dll"
But now I have to declare the internal functions as well:
Eg: Declare Function curl_easy_setopt(easy as ??, CURLOPT1 as ??,
CURLOPT2 as ??) as int
Each of the required functions I have to declare by my self and the
enumerations (options) for the functions too.
1) How will I know if some of the functions requires values by-reference
or by-value ?
2) Enum: Public Const CURLOPT_READFUNCTION as int = ??
The cUrl project for VB includes some tables to refer to all this
declarations. But's its not in human text format.
It seems i have to dig through the complete source code and try to
extract the required stuff.
Perhaps it's the best to use the vblibcurl.dll because I can verify the
code examples.
At the end I require the complete declaration for GB32 in text format.
Am 14.07.2013 16:50, schrieb Daniel Stenberg:
> On Sat, 13 Jul 2013, gfa_at_trainzland.com wrote:
>
>> 1) Some examples talking about "creating a text file" a commit to an
>> exe. (Sending/receive a file to a ftp server)
>
> Can you be more specific? What "some examples" are you referring to?
>
>> I must working with (GFABasic32) GB32 Rapid Development Language and
>> the ftp4w32.dll (file transfer dll ) in Win7/8 in asynchronous mode
>> currently. GB32 is able to include DLLs into the project code, but
>> its not possible to bind #include <curl/multi.h> stuff.
>
> You can use libcurl but you can't use some specific parts of the API?
>
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-07-14