Preserve folder structure on uploads
tracked
animats Resident
When uploading in bulk, all the uploaded content is just dumped into the main inventory at root level. When a bulk upload sends a folder from the client machine, a corresponding folder should be created in inventory. Folders within folders should, of course, be uploaded maintaining the folder structure.
With glTF coming in, uploading textures and meshes at the same time is more useful, so more structures is needed.
(My own interest is that I need to upload a large number of of textures for region impostors, and they all end up in my root folder. I need subfolders.)
Log In
Nexii Malthus
It probably gets fairly complex when the question comes in dealing with mixed-content folders.
I think the OP wants the implementation for a fairly straightforward usecase where they are dealing with bulk uploading of only one type of asset which is textures.
Here is my personal proposal:
Selecting textures and folders (w/ subfolders) containing only textures from the bulk upload should be able to keep that structure within the Textures root folder. Same goes for other types of assets with this logic of non-mixed usecase.
If the user chooses to select a folder with mixed types of content then perhaps it becomes a question for the uploader: 1) Upload all assets into respective root asset folders with no nesting 2) Upload all assets into respective root asset folders with same nesting structure 3) Upload into a new top level root folder and maintaining same position and structure as files/folders
re: 3) the name of top level folder if only a folder was selected during bulk upload can be that name. Otherwise an automatically generated name for the wrapping folder if they selected folders + other files as siblings to that folder(s) selection

Andrey Kleshchev
Can you provide an example please?
If we have some gltf that has subfolders, meshes, materials, textures, how do you want it to look once uploaded? With an example please, people can structure their fodlers differently.
If you are selecting textures from different folders, please provide an example of both, how you do that and of how you expect the end result to look like.
Nyx Onyx
Many of the comments in this thread, and the merged in post by Spidey Linden are two entirely different topics. One is about unpackers inworld (objects giving items to residents), while the OP in this thread is about uploading a folder structure, retaining that structure in the inventory.

SL Feedback
updated the status to
tracked

SL Feedback
Issue tracked. We have no estimate when it may be implemented. Please see future updates here.

Spidey Linden
Merged in a post:
Everything going into the main folder creates inventory chaos. Especially for new users.
SaraMarie Philly
It would be nice if creators could somehow use an identification system for their folders that would insert the folder into the correct location upon unpacking the product. For example, if I'm selling clothes, it would be preferable for the unpacked folder to show up in the CLOTHES section of the buyer's inventory rather than every person needing to drag it into the correct place. Likewise, if I'm selling a bunch of textures, it would be nice to be able to internally "mark" (perhaps in properties) that my product should go into the Textures folder once unpacked. ***NOTE: Users should still be able to copy/paste/drag these folders wherever they choose if they prefer a different location.
animats Resident
Interestingly, it looks like the message sent to the server allows a target inventory directory to be specified. But the viewer doesn't support that. It should.
It turns out that uploading more than 200 or so textures at one time tends to fail. 200 is reliable but 400 is not. So uploads need to be broken into convenient sized pieces.
Flea Yatsenko
It would be great if you could just select a folder instead of the files. then that folder you selected is created in your inventory, as well a subfolders, then file and folder structure inside the folder you uploaded is preserved.
Beatrice Voxel
At the very least, being able to specify a 'target folder' (existing or new) on bulk upload would be useful, if for whatever reason the viewer cannot create a copy of the OS's source folders.
LYRIC Boxen
While this is a good idea as someone sitting with over 200,000 in their inventory 🫠 I do believe that a lot of people would want to organize their inventory in a way that suits them... especially when creator's name something as tye dye and don't add bikini on the end
Load More
→