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
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...

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.