Jump to content

FTP server to server


hybmg57

Recommended Posts

Hi,

 

I would like to transfer some jpg image files from FTP server to my local server and I would like this to be done in a PHP script but I cannot figure out a way to do this without saving in my local harddrive.

 

If anyone have any ideas and share this with us that would be very much appreciated!!!

 

Thank you.

 

Kind regards,

Jae

Link to comment
https://forums.phpfreaks.com/topic/223354-ftp-server-to-server/
Share on other sites

Yes I did but I would like a way we can transfer files directly to the server without downloading to my local drive first.

 

I think we could save a file in temp when downloading and then use this temp file to ftp_put into the server.

 

I just wanted a server to server transfer...

Oh.. So you are running the script from a local web server. Unless you have access to the server to execute FTP commands from it, then you'll need to use your local machine to get the files, before putting them to the other server.. unfortunately. You can use the temp directory as you say though, and just unlink them once you're done.

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.