Home > Archive > Tcl > December 2007 > TclCurl help
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| suchodj@wanadoo.fr 2007-12-19, 7:16 pm |
| (window xp family / Tcl/Tk 8.4.13)
i have downloaded and installed TclCurl. I have
verified it works ok with "package require" i get
7.17.1
then for a start i went to the following http
http://personal1.iddeo.es/andresgar...h/examples.html
where i found the very first exemple:
#To download a webpage
package require TclCurl
curl::transfer -url http://www.curl.com
the answer was "23"
i looked for info in "comp.lang.tcl" , google, etc..
Since i obviously do not understand what is going on, any
help to put me on the right way is welcomed.
jerome
| |
| Andrés García 2007-12-19, 7:16 pm |
| Hi,
> #To download a webpage
> package require TclCurl
> curl::transfer -url http://www.curl.com
> the answer was "23"
In unix that command would have shown the web page in the
console, in Windows it can't and it gives you a write error.
Use: curl::transfer -url http://www.curl.com -file index.html
Andres
|
|
|
|
|