Right... is it possible to grab a file from another site via php...
like grab an exe and store it on your own webserver, if you think about it, its like the wget function on linux, thats what i need it to do, so i dont have to upload large files to my webserver ( not frihost one )
Thanks in advance
ahh ok, it works for a certain extent for me... I have to create the file name before hand on the server then execute the script otherwise i get fopen/fwrite errors.. but it works so ill send you 30 FRIH$ now ^^
actually do you think you can add a feature to tell the % downloaded? or something like that and xxx KB/ xxx KB downloaded or somthing. will pay an additional 50 FRIH$
ahh so just chmod the folder to 777 then? easy enuff...
and my host has cPanel ^^
EDIT: Yeah chmoding the folder works fine ^^ thanks for that bit of info.
Where do you let the script download from? HTTP or FTP?
In that case it is not possible to get the file size before you start downloading, so it is not possible to add a counter which expresses which percentage is downloaded. I can add a counter which displays how many MB's are downloaded.