Skip Navigation

[Resolved] Is there a way to upload files in specific subfolders of the uploads folder?

This support ticket is created 4 years, 6 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 2 replies, has 2 voices.

Last updated by jannisM 4 years, 6 months ago.

Assisted by: Minesh.

Author
Posts
#1376907

I have created several post types with the Types plugin and most of of them have a filed for an attached file. Is there a way to upload these files into specific subfolders of the Uploads folder? The reason is I want to protect these folders from public access and keep them available only the roles assigned to have access to this type of content.

#1377023

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

There is no such native feature available to upload the files in specific subfolders of the uploads folder.

If you try to google it you will be able to locate few articles or posts - for example:
=> https://wordpress.stackexchange.com/questions/180353/change-upload-dir-folder-at-a-certain-cpt-but-cant-change-back
=> https://wordpress.stackexchange.com/questions/193089/change-upload-directory-on-custom-plugin-page

But I do not recommend it to use as it will cause possible side effects when you will try to display the file fields on the frontend using Toolset plugins.

All I can offer you is to encourage you to file a new feature request and our Devs will evaluate it:
=> https://toolset.com/home/contact-us/suggest-a-new-feature-for-toolset/

#1377219

My issue could not be resolved with a Toolset feature. Still a big thank your the quick reply!

This ticket is now closed. If you're a Toolset client and need related help, please open a new support ticket.