This topic has 2 replies, 2 voices, and was last updated 10 years, 7 months ago by Anonymous.
Viewing 3 posts - 1 through 3 (of 3 total)
Hi,
I’ve noticed that as files are downloaded using the download all button, the site stores this in tmp-album. Is there any suggestions as to how this should be purged as this file is currently hosted on an SSD with 300gb of storage, rather than to my RAID1 2TB drive. My concern is how quickly this could fill, however, I do not want to purge too often to the point that I am interrupting users.
My assumption, looking at the script, this is created once and used once every time a user hits download all, so I assume it would be safe to purge files from this folder using a cron job every hour or so?
Any help is appreciated.
Sorry for the delay in response as we were investigating your issue. You can change the path here,
$tmpdir = ABSPATH . 'wp-content/tmp-album/'.$albumid.'-'.mt_rand(100,999).'/';
$download_file = ABSPATH . 'wp-content/tmp-album/album-' . $post->post_name .'.zip';
in music_all_download.php file. Once all the files are downloaded in tmp-album, it will automatically removes all the files from the folder as it is a temporary folder, it can’t store the files.
Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.