The WP-Members Download Protect extension received an update today, version 1.6.0.
This release adds WP CLI commands that can be used for file management. Note that the commands are currently considered an experimental feature, so there may be some minor changes in future releases, with the full feature being set in version 2.0.0. But I wanted to get this release out because I know there are users who have need for one of the new commands –
move which can be used to move existing files in bulk when setting up a new install of the Download Protect extension.
The initial release of the CLI interface includes commands for the following:
list– lists all files in Download Protect, or all file mime types that the CLI “move” command can move.
move– moves all files or all files of a specified mime type (such as “application/pdf”). Use the “list” command to get a list of available mime types in WP. This command also includes the “dry-run” option.
rename– renames a file by a given ID.
delete– can delete a single file by ID or all files in Download Protect.
For more detail on each command, see the plugin documentation. Inline help is available in the WP CLI interface with the
--help option for each command.
One question that comes up from time-to-time is how to move files from the media folder to the download protect folder (which is a subfolder in the WP /uploads/ directory). The usual answer is “you can’t.”
However, sometimes we run across a user that has 100s (or more) existing files that they want to move into the protected directory. So I have written a command line script that will process a bulk move for you. Continue Reading →
WP-Members Download Protect version 1.5.1 has been released. This is essentially a bug fix update for a bug that (seemingly) only affects initial installs (new installations only), and then only if the current file system did not have a /wp-content/uploads/wpmembers/ folder created by the core plugin. Continue Reading →
The Download Protect extension for WP-Members has received an update and was released as version 1.5.0.
This update adds download tracking as an optional process. In the past, all downloads have been tracked. However, we have had some users request that this be changed to an optional feature for their GDPR compliance, so now you can turn it off.
Download tracking continues to be enabled by default, so you don’t have to do anything with a new installation unless you’re turning it off. Also, for upgrading, this will default to “on” (true), so you only have to change anything if you’re turning it off.