• Resolved xianx

    (@xianx)


    I want to know how this plugin works?

    1. Do this plugin first write to disk and than upload the file to Digital Ocean Spaces? Ro upload files directly to Digital Ocean Spaces?
    2. What will happen if a file failed to upload to Digital Ocean Spaces during upload process? Will it skip? Will the local file remain on host and there will missing file on Digital Ocean Spaces?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter xianx

    (@xianx)

    Can I get a reply?

    Plugin Author keeross

    (@keeross)

    Hey!
    The plugin uses default wordpress hook and action, it uploads files to Spaces only on metadata processing step, at this moment of time wordpress already generated all the image sizes, wrote them to disk and has all the data about them.
    There is two main behavior patterns, plugin uploads files to Spaces and keeps local copy, or uploads to Spaces and deletes a local copy.
    Since php is synchronous if it will fail on upload, local copy will persist even if you choose to delete it.
    Plugin has a restart upload feature, but it is not very consistent, so for now it is disabled, I plan to release it in a few weeks.

    Plugin Author keeross

    (@keeross)

    Closed

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How this plugin works?’ is closed to new replies.