Jump to content

Download and save file remotely


jeffreyappel

Recommended Posts

I want that my script remotely download a file on the server from another server and save it remotly on the server.

 

For example my script is located on http://mydomain.com/download_script.php

The file I want to download is on http://otherdomain.com/file.zip

Then I want to save it to http://mydomain.com/file.zip ----------- to the local server folder

 

I found a way how to parse HTML code remotly, but haven't found how to download files, please help me to find the right function.

Link to comment
https://forums.phpfreaks.com/topic/290850-download-and-save-file-remotely/
Share on other sites

  • 4 weeks later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.