R
Rommel76
Guest
Hi everybody
I am running the latest version 2.2.3.346, runtime v2.2.3.244
I already disabled the sandbox restriction and anyway I am unable save the files in a defined directory .
as follow the creation code :
file = "http://www.**********.com/Test" // link al file
des = "\Download\Upgrade.zip"
download = http_get_file(file,des);
size = 0 ;
progress = 0 ;
image_speed = 0
The async http code :
if ds_map_find_value(async_load,"id") = download {
if ds_map_find_value(async_load,"status") = 1 {
size = ds_map_find_value(async_load,"contentLength")
progress = ds_map_find_value(async_load,"sizeDownloaded")
}else if ds_map_find_value(async_load,"status") = 0{
show_message("File download")}
else {show_message("Download failed")
}
}
Everything works , the file has been downloaded but has been saved properly only in the appdata directory only if I don't define any directory , with des = "\Download\Upgrade.zip" the file has been download but don't be saved anywhere , the same thing with any other folder i try .
what can I do ? , I am trying and trying since many days for solve it but I am unable .
Thanks a lot for any sugget
I am running the latest version 2.2.3.346, runtime v2.2.3.244
I already disabled the sandbox restriction and anyway I am unable save the files in a defined directory .
as follow the creation code :
file = "http://www.**********.com/Test" // link al file
des = "\Download\Upgrade.zip"
download = http_get_file(file,des);
size = 0 ;
progress = 0 ;
image_speed = 0
The async http code :
if ds_map_find_value(async_load,"id") = download {
if ds_map_find_value(async_load,"status") = 1 {
size = ds_map_find_value(async_load,"contentLength")
progress = ds_map_find_value(async_load,"sizeDownloaded")
}else if ds_map_find_value(async_load,"status") = 0{
show_message("File download")}
else {show_message("Download failed")
}
}
Everything works , the file has been downloaded but has been saved properly only in the appdata directory only if I don't define any directory , with des = "\Download\Upgrade.zip" the file has been download but don't be saved anywhere , the same thing with any other folder i try .
what can I do ? , I am trying and trying since many days for solve it but I am unable .
Thanks a lot for any sugget