Posts: 411
Forum Level: YetiShare, Premium Member
Joined: Tue Jan 13, 2015 12:43 pm

Bug on moving files between servers

Tue Nov 29, 2016 9:55 pm

When moving files between 2 direct servers the transfer may timeout in 60 seconds. Use default_socket_timeout to increase the timeout for the functions fopen and file_put_contents.

If the server starts the download and the connection drops in the middle of the transfer the script will proceed as if the file was downloaded successfully and the original file will be silently deleted after 1 day. To fix this, check the file size and/or md5 on the receiving server.

This thread has 1 reply

You must be a registered paid member and logged in to view this response.


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 3 guests