Hi,
Thanks for a good question. Downloaded zips are saved in your server’s system temporary folder (sys_get_temp_dir()). So it’s up to server when those are deleted. Now when you pointed this out, I thought it would be a good idea to clean it up, so I’ve just released new version 1.1.3, and added zips deletion after download. So to sum up:
- In version 1.1.2 and below – files are left in temporary system directory.
- In version 1.1.3 – files are deleted immediately after download.
Best regards,
Tom
Thanks for your reply.
I do not have access (ex: via FTP) to the tmp file of the server so I wanted to ask you…
1. Let’s say I download plugin named Plugin1 using version 1.1.2 . This means that in the tmp there is a zip called plugin1.zip.
2. If I download this plugin again using 1.1.3 now, will the plugin name the zip file as plugin1_1.zip (since plugin1.zip already exists), download it and remove it? Or will it recreate plugin1.zip and then delete it?
I am asking since I do not want to populate the server with unnecessary temporary files and I wanted to know whether I can sort of delete the zip files I deleted by downloading them again using 1.1.3.
Thanks again
If you redownload plugin with v1.1.3 that previously was downloaded with v1.1.2, it will overwrite zip file (that is, will create same plugin1.zip and not plugin1_1.zip) and then will delete it. So you will clean up the temporary directory.
Best regards,
Tom
P.S. if you like the plugin, please leave us a rating.
Just rated!
Thanks a lot for your prompt reply 🙂 That is exactly what I wanted to know…
Keep up the good work!