I am trying to upload files to Retool Storage and store the files in a subdirectory and then create a new folder based on the value they select from a select component. I can create the folder from the select component but cannot figure out how to get it to go into the right subdirectory one level up. For example, I have the following sub-directory in retool storage:
RRL
and when a user selects the value from the select component I want the file to go into RRL/{{ select1.value}}. I can only get it to create the new folder off of the root and not in the RRL sub-directory.
In that case, how can I save a filename, with the prefix of the filename being the select component value. I would also like to save this newly name file in a subdirectory. For example: