Jump to content

Using PhP to copy files from one server to another?


vozzek

Recommended Posts

Hi all,

 

Okay, I've got a giant folder on my server filled with let's say 5,000 small image files.  I need this exact folder on my other host's server, with all the files intact.

 

What's the best way to do this?  Ideally I'd like to write or find a php script that can accomplish this.  Even if I can't do it server-to-server directly, maybe I could dump the folder onto my desktop and then restore it into the new server?  I'm using CPanel and the backups provided are for the entire home folder or nothing.

 

Someone else said I needed CURL.  One more thing to learn I guess.  How would you guys accomplish this?

 

Thanks in advance for the help!

 

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.