200 photos are uploaded to the server, but reading / writing to disk = 1mb / s, which is limited by the hoster. When downloading so many photos, the server resets the download. I thought that the problem was in cutting the record, but is it possible that this drop is triggered through a long script operation, such as loading more than 30 seconds (standard script execution time). In php.ini, directives that are responsible for limits on downloading \ number of files are above 100mb. The total weight of 200 photos does not exceed 50mb. I upload files through one cycle, am I doing the right thing? Perhaps you need to put some pauses, or somehow download portions. Tell me please

  • increase the execution time for this script or load photos via ssh, ftp or sftp - Naumov
  • Yes, in general it is not an option. Each time uploading such a number of photos manually is not Camille, + this is a gallery with a thumb. At the expense of increasing the execution time, perhaps, but I'm not sure what the problem is. Thanks for the advice - dima buhayov
  • one
    watch server logs why it falls? - Naumov
  • if there would be another possibility =) - dima buhayov
  • You can send images in turn using ajax. - Daniel Abyan September

0