Jump to content

Downloading to server


SgtSlaughter

Recommended Posts

Hi, I was wondering how it would be possible to download a file (a direct link) and save it to a directory using a php script. I've never done anything quite like this before but, taking a wild stab, I'm guessing I would open a socket to the file and write it locally? Or is there a better way?

Thanks in advance
Link to comment
https://forums.phpfreaks.com/topic/32885-downloading-to-server/
Share on other sites

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.