Hi!
Is there any way to download a file from http to the computer without using too much crazy activex
System.Shell.Folder.copyHere("http:// ....") does not work. I need to download a picture, since there is no "Save picture as..." in gadget's context menu.
Thanks for any idea

Downloading a file
jellali
rcurrie
function loadImage(url) {
xmlReq.onreadystatechange = imageCheck;
xmlReq.open("GET", url, true);
xmlReq.send(null);
function imageCheck() {
if(xmlReq.status == 200) {
ActiveX is probably going to be your only solution, unfortunately.
Blast
Things are getting complicated a bit...but okay, I'll try. Do you have any idea what the limit is
However, since I don't expect the file to exceed 100kB I guess it should work well.
Fox Me Up
Thanks, that seems suitable.
It would be much easier if I could get the Shell.Item object for the URI, though (if you look for suggestions for future versions
)
yabing
Hi again...
I cannot make it working... how should I load the file If I use stream.Open("http...") I get argument error and if I use stram.LoadFromFile("http...") I get file could not be opened...