Client call api to upload folder to server

i have researching many document but it seem to be so hard to uploading many folder to host similar to google drive, anyone can help me solve out this issue, tks all of you. (i am have a vapor server side book but it just help me upload a single file)

  • multipart is a answer iam looking for but i must create many buttom on web to select many files but not folder, and in my application i want to just 1 button click, it pop a all my computer’s file and i can select multiple of folder. very appreciate if you give me a hint.

I think you’ll need to upload each file individually. You can do it with JS to make it appear to the user it’s all done at once