You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

brian q.'s avatar
brian q.
Helpful | Level 6
3 months ago

Restricting folder to certain file types? Is it possible?

Is there any way to set up a folder so that it can only accept certain filenames, and or reject other filenames? 

 

While my goals is actually by 'filetype', simply name matches/rejections would suffice the most common use case...

 

Ie prevent .zip files from populating a folder, or allow only *.zip to be dumped to a given folder.  

 

The prevention would take place prior to upload/sync, not after the file is uploaded/syncd.    Today we solve this problem via after-sync, simply removing/keeping the matching files.    But of course that might be hours after a 100GB file is sync'd that we didn't want it. 

 

My goals is stopping the problem on the user side of things, before they start doing the wrong thing... ie putting *.zip where they don't belong. 

  • Megan's avatar
    Megan
    Icon for Dropbox Staff rankDropbox Staff

    Hey brian q., thanks for posting here! 

     

    The key thing here, is that you wish for the restriction to happen before the content is synced or uploaded.

     

    We don't have an exact feature to what you're asking. I'm not entirely sure if an API would work, but it's possible but I'd also have to suggest either an automation or a naming convention on our end. 

     

    You might want to take a look into these options, to find out if they work similarly for what you wish to achieve on your end. 

     

    Thanks a bunch! 

About Create, upload, and share

Find help to solve issues with creating, uploading, and sharing files and folders in Dropbox. Get support and advice from the Dropbox Community.

Need more support

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 or Facebook.

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!