Hi - I’m reading through the Tigris examples (link below) and I’m a bit confused by how they implemented their multipart upload strategy. It seems that the path is sent from the client to the server in their example. Is this not something that should be set server side for security (e.g. tenants/tenantId/files/content)? Maybe you can and I’m missing it, but was running into errors if I tried to set the path from the server. Thanks!
Answering my own question here (2 min later of course!). You can set it on the server side. I made a user error when I was trying it out before. The first param named path was tripping me up in the client side upload function.
I am glad you figured it out. Is there something you think we can improve to prevent anyone else from tripping?
Hi @ovaistariq – Thanks for getting back to me. I think the docs could just be a bit clearer on this (e.g. calling out that it’s the file name as the first param, not the path that you are uploading to)
Also, saw you on the Database School podcast – super interesting to hear about your journey!
Thanks for the suggestion @charliemaloney, I have updated the documentation to make it easier to follow. We have also simplified server logic to handle the client uploads. You can check the example here
Looks great @designcode ! Thank you.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
