Hey all,
Background info:
We have an s3 resource that has limitations on the chars we can use for the filenames (example: spaces are not allowed).
At the moment, we have a pep rule to block those chars on upload. It works, but we would like to remove this to have better user functionality.
The basic workflow could be:
1. The user does iput into a resource_WITHOUT_charset_limitations
2. There is a rule to replicate the file to the resource_WITH_charset_limitations
Irods has the concept or logical path and physical path. Is it possible to influence the physical path in a pep?
Something like the msiSetRandomScheme, but not only to collections, but also filenames.
Of course, this also would mean that we need to handle collisions ourselves. And probably some other things we are not thinking about.
Other possible solutions:
- Leave irods with the current rule that blocks chars and have an ingestion script to handle and replace chars there.
- Or allow all chars in resource_WITHOUT_charset_limitations and in the replication rule to the resource_WITH_charset_limitations, rename the logical filenames. Probably then also store the original names in metadata.
Best regards,
Joris
--
--
The Integrated Rule-Oriented Data System (iRODS) - https://irods.org
iROD-Chat: http://groups.google.com/group/iROD-Chat
---
You received this message because you are subscribed to the Google Groups "iRODS-Chat" group.
To unsubscribe from this group and stop receiving emails from it, send an email to irod-chat+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/irod-chat/079e6744-690d-4153-a6dc-0ddb10811c02n%40googlegroups.com.