In theory this should work, but it doesn't.
PHP Code:
function urltest() {
temp.url = "http://forums.graalonline.com/forums/images/misc/vbulletin3_logo_white.gif";
temp.req = requesturlasgamefile(temp.url, "levels/images/vbulletin3_logo_white.gif", 0);
this.catchevent(temp.req, "onReceiveData", "onFileTransferred");
}
function onFileTransferred(obj) {
echo(extractfilename(obj.file) SPC "received. (" @ obj.fulldata.length() @ " bytes)");
}
But you can also try the redirect option in the Folder Configuration.
I.e:
NPC Code:
redirect onlineimages/*.png http://www.example.com/images/