Archive: Using cURL


Using cURL
Hi Guys,
I may be being a little dense, it's been a while since I used NSIS. I need to do a few FTP and HTTP routines. I've read a post about people using cURL. But I can't figure out how I actually load cURL along with my NSIS install and run cURL based on user input, fetching what it returns while the installer is running.

Any help would be much appreciated.


Lyle


Please read NSIS manual, keywords:
4.9.1 Basic Instructions, ReserveFile - improves cURL extraction from package.
Plug-in - nsExec (NSIS\Contrib folder) or ExecDos (http://forums.winamp.com/showthread....hlight=ExecDos to run console application in the hidden window.
May be Marquee plug-in http://forums.winamp.com/showthread....hlight=Marquee to add some animation during download.
But you need it only if you want to upload files from user's comp - NSIS plug-ins available for files download. And BTW in XP/2000 it is easy to use ftp client with batch file (ftp -s command line option).


actually...

is it possible to have a curl-DLL from libcurl?
http://curl.haxx.se/download.html

i can not perform it ;)


here's an example of a script using curl