Hi, actually there is a setting on the shortcode, Local File Action for this purpose. If you set it to delete, the local files will be deleted after being transferred to Dropbox.
Regards
Nickolas
Thread Starter
mazza
(@mazza)
Hi Nickolas, it not seams to work
here is my code:
[wordpress_file_upload uploadpath=”/uploads” uploadrole=”iscritto_al_sito” placements=”…” uploadtitle=”….” notify=”true” notifyrecipients=”[email protected], [email protected]” notifysubject=”***xxxxxx***” notifymessage=”xxxxx: https://www.dropbox.com/home/xxxxxx” widths=”plugin:300px, filename:300px, selectbutton:150px, uploadbutton:150px” filebaselink=”true” dropbox=”true” dropboxpath=”xxxxx” dropboxlocal=”delete”]`
“xxxx” hides data that I consider sensitive
where em I wrong?
Thanks
Usually it takes some time until the file is deleted. It might be one minute, one hour or one day (it depends on the internal scheduling mechanism of WordPress).
Can you please confirm that files are still not deleted?
Nickolas
Thread Starter
mazza
(@mazza)
Hi Nickolas, it’s like you say. the file was deleted after one hour. Thank you