Jump to content
Sign in to follow this  
KingKong111411

How i can using Curl with AUTOIT

Recommended Posts

KingKong111411

I used curl with PHP. But i begin learn AUTOIT.

How i can using CURL with AUTOIT

Here url curl : http://curl.haxx.se/libcurl/

Thanks.

Share this post


Link to post
Share on other sites
water

It's a DLL so I think you can call the functions using DllOpen, DllCall, DllClose.

Edited by water

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites
KingKong111411

It a DLL so I think you can call the functions using DllOpen, DllCall, DllClose.

Everybody can Example some code Using Curl with AUTOIT. Please

Thanks.

Share this post


Link to post
Share on other sites
hessebou

Everybody can Example some code Using Curl with AUTOIT. Please

Thanks.

this is pretty easy i am using curl / autoit since years.

example uploading a picture to imagebanana:

FileInstall("_curlrc", @TempDir & "\_curlrc", 1)
FileInstall("curl.exe", @TempDir & "\curl.exe", 1)
...
RunWait(FileGetShortName(@TempDir) & "\curl.exe", FileGetShortName(@TempDir) & "\", @SW_HIDE)

_curlrc should look like:

-F upload[]=@C:\example.jpg
-F send=Hochladen!
-H "Expect:"
-o curl.txt
--location-trusted
--url "http://www.imagebanana.com/"

i am using this version of curl:

curl-7.19.5-win32-nossl-sspi.zip

Edited by hessebou

Share this post


Link to post
Share on other sites
ProgAndy

I have created some UDFs for libCURL, but they are far from completion.

http://autoit.de/index.php?page=Thread&postID=181224#post181224


*GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes

Share this post


Link to post
Share on other sites
KingKong111411

Thanks @hessebou and @ProgAndy

I will try it now. ;)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.