I appreciate that you developed this plugin.
Nephila clavata has a function to download files that do not exist in the local directory from S3.
However, this was unsuccessful when called via “admin-ajax.php” or if there was no “date directory” under the “uploads” directory.As a result of investigating, these problems could be solved by applying the following modifications.
(1) class-NephilaClavata.php line 243
[new]
} else if (!is_admin() || $pagenow === ‘upload.php’ || $pagenow === ‘admin-ajax.php’) {
[old]
} else if (!is_admin() || $pagenow === ‘upload.php’) {
(2) class-S3_helper.php Before “file_put_contents” on line 129
[Additional code]
$dirpath = dirname($download_path);
if (!file_exists($dirpath)) {
mkdir($dirpath, 0705, true);
I hope you accept this fix if there are no mistakes.
]]>I have this, my information is filled out, but there is too little information. How do I know when files have been moved? Does this serve everything (wp-content) from S3? Is this just a backup plugin? Does this work with Cloudfront?
Is there any kind of documentation? I have it, it is installed, and I have no idea what is next. If this is a CDN plugin then that would be cool to serve it from S3. I would love to use this, but I have no idea what or when it does something.
Any information is appreciated.
]]>I’m using Sova WP’s small plan, which comes only with 10GB storage.
Ideally, I wish to host all my media uploads on S3 (or other cloud) so even if I face to move my server again, I won’t have troubles moving plenty media files.
Anyway, as the title says, what happens to uploaded files if I delete local files (via FTP maybe)?
]]>