massedge / wordpress-plugin-export-media-library

WordPress plugin that allows users to export media library files as a compressed zip archive.
https://wordpress.org/plugins/export-media-library/
GNU General Public License v3.0
10 stars 4 forks source link

Only 10% of media library downloading #45

Open JanArcher100 opened 1 year ago

JanArcher100 commented 1 year ago

I have tried both single folder and nested folders with the same result. I have a media library with 425 items in it When I export I get 38 items exported

Any thoughts or ideas?

andrejpavlovic commented 1 year ago

Not sure, maybe it's having trouble finding the files on disk.

So when you go to WP admin and Media => Library, it lists 425 items?

I should probably add some sort of logging to the library to help understand how many items it finds and if it fails to download any.

JanArcher100 commented 1 year ago

Q: So when you go to WP admin and Media => Library, it lists 425 items? A: Yes, that's correct

How can I add logging?

andrejpavlovic commented 1 year ago

Can you actually open and view those 425 items? Maybe try a few see if the files actually exist.

I need to add logging to the plugin, since it skips downloading files if for example it can't find the file on the server, or other reasons. Currently the user has no way of knowing which files were skipped and for what reason.

JanArcher100 commented 1 year ago

I haven't checked all 425 but I've done some random spot checks on every page and they were all found. (Copied URL to clipboard and navigated there in a separate tab).

JanArcher100 commented 1 year ago

Hi - do you have any other suggestions?