Need to see if your shared folder is taking up space on your dropbox 👨‍💻? Find out how to check here.

Forum Discussion

outsidecoder's avatar
outsidecoder
Helpful | Level 5
8 years ago

Automatically Deleting Files After X Days - General Data Protection Regulation May 2018

Hi there,

I'm using the Java SDK 3x (API v2) and I'm looking for pointers/code to automatically delete files that are X number of days old.  There is post on this forum which is doing this in python however not seen anything for Java.  I can't use any third party tools due to the context of my client's application.

 

With the European GDPR I feel this feature should be in built into the uploading process, that is defining a 'retention schedule' for all the files.  If this feature is going to be implemented will it be in time for when the Eurpoean GDPR  is active in May 2018?

 

Best regards and thanks for any assistance :)

16 Replies

Replies have been turned off for this discussion
  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    5 years ago

    Thanks for the additional feedback!

  • qopera's avatar
    qopera
    New member | Level 2
    5 years ago

    I've been looking for a way to automate deleting files from Dropbox for my company usage, and I recall reading this post late last year. Interestingly, in Feb, I found a site that support auto-deletion for files on Dropbox - it's called Fileql. I set up my personal Dropbox just to test this out and I'm still in my free trial period, but so far it seems to work as expected. You'll create a rule and schedule how often it should run and define the terms for the rule. Hopefully, this works for someone else.

    Unfortunately, I'm not a developer so don't know how to hack these things so I'm sticking to these guys if all goes well.

  • Joachim_H's avatar
    Joachim_H
    Explorer | Level 4
    4 years ago

    Is there any chance that this feature will finally be introduced?
    Since 2018 this requirement exists in this thread
    My company is in dire need of this feature.
    We will have to look for another cloud provider otherwise

  • tuancrab's avatar
    tuancrab
    New member | Level 2
    2 years ago

    It is super easy to have a Google script code with Chatgpt to delete specific filetypes, after x days ... and other filtering conditions as you like: notification to email after completion, trigger runs everyday, week or more when you use Google Drive. I'm still not sure how to do that with Dropbox.

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    2 years ago

    tuancrab Thanks for the feedback. Dropbox doesn't offer a feature exactly like this, but I've sent this along as a feature request.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.

The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!