hello,
suppose i have a browser control oppened with an url containning an image.
What command should i use to save the image (given the complete image url) to local disk ?
Here is for example an img url :
"http://images.viapresse.com/Zooms/3780/1648/023023178001.jpg"
I know how to get the complete url:
"BROWSECMD(wb,@GETNAVURL,CodeBarre$,255)"
I would whant to localy save the image under the name "37801648023023178001.jpg"
Thank's for any help
Dominique
look at the internet_example.eba file in the sample folder ;)
krypt what does the internet example ? for me it opens only a console, prints some html-code and nothing more !!! ???
the example show how to download a file and read it ;)
while it download google.com index file, it print result return by the buffer.
here's a more elaborate example by Joske on Coding Monkey:
http://www.codingmonkeys.com/index.php?topic=677.0
Thank's
finaly i used the windows func: "URLDownloadToFileA" as i know the complete url for the image,
all is ok. The image is then dowloaded localy.
Thank's
Dominique
Another question:
in my window i have a text field that i complete with the commandline parameter i received in the "Case @IDCREATE" part with a "SetControlText win,2,GetArg(1)"
GetArg(1) is a sub i created that return a string containing the 1 commandline arg.
But the text field isn't completed with the text i give it ?
Is it the good place to complete the text field ?
Thank's
Dominique
Quote from: DominiqueB on December 03, 2006, 03:36:50 PM
Thank's
finaly i used the windows func: "URLDownloadToFileA" as i know the complete url for the image,
all is ok. The image is then dowloaded localy.
Thank's
Dominique
i had didnt think about this one, even better ;)