Newbies Rob Westergaard Posted April 19, 2011 Newbies Posted April 19, 2011 Is there any way to enforce a naming convention for files uploaded to SuperContainer? I have another process reading the stored files (not through SC) and I'd like to make sure the uploaded files don't have certain characters in their names: !@#$%& and so on.
Smef Posted April 19, 2011 Posted April 19, 2011 I'd advise against accessing files stored in supercontainer for a number of reasons. You should think about data stored in SuperContainer as data stored in a filemaker container field, and I recommend only accessing it through a filemaker or script-controlled interface the same way you would as if it were stored in the database directly. If you do so, one of the benefits is that you can control naming and access to files like you are trying to do. The SuperContainer Companion plugin allows you to rename a file on either upload or download using SCSetContiner and SCGetContainer, which would solve this issue for you.
Recommended Posts
This topic is 4965 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now