Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author atvdev

    (@atvdev)

    Hello,
    the images are uploaded via wp cron job, 50 files, every 30 minutes. That means that you blog must be visited by someone to get some files uploaded to s3 (that’s how wp cron job works). Probably if you had waited some more time, files would have eventually uploaded.

    Now that you have uploaded the files manually, the plugin sees that there is already a file with that name on s3 and leaves the local file as is. Currently the serving of s3 content is done by a redirect with htaccess, only if the requested file does not exist on local server. And that’s why you continue to see your local images although you have copied them to s3. To make the redirect work you have to delete the local files that you uploaded to s3. That’s also how the plugin works, after a successful upload to s3, the local file is deleted.

    If the request was directed initially to s3, you would win some milliseconds before the webpage is cached, and maybe more if your wp shows a lot of images. But to make that I must make the plugin to work without cron jobs and upload files directly to s3, which slows media uploads a lot and can not be done until patch for this bug is released. So when the patch is released, I will review if it is worth it. Maybe I will leave both options for the user to choose, I don’t know yet.

    Thread Starter ajayrds

    (@ajayrds)

    Thanks a bunch for the quick reply!
    I have deleted the files on my server now, and it works just like you said. About avoiding the redirects, I was thinking about the advantage of downloading files from separate domains. But i do understand, other functions will get slow.
    Thanks again for the excellent plugin!

    Ajay

    Hi,

    Thanks for the contribution

    Does this plugin work all file uploaded to WP or only files uploaded through the WP media library?

    James

    (@jameshilliard)

    There seem to have been 50 files transfered but the cron has not run again since? It has been 24 hours.
    Ty

    I have the exact same issue as JamesHillard. I’ve pinged the website plenty, and even accessed wp-cron.php directly, but no more files are uploaded beyond the inital batch.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Folders missed during upload’ is closed to new replies.