I have a load of files within a folder which I need to upload to firebase storage programmatically (the files are HLS chunks created using ffmpeg).
A simplified version of the folder structure follows (where temp represents the OS temp folder)
temp/
my-video/
v0/
chunk0.ts
chunk1.ts
index.m3u8
v1/
chunk0.ts
chunk1.ts
index.m3u8
master.m3u8
I want to upload these to storage as a folder in one hit and maintain the folder structure within storage such that within storage the structure will be:
videos-out/
test-videos/
my-video/
v0/
chunk0.ts
chunk1.ts
index.m3u8
v1/
chunk0.ts
chunk1.ts
index.m3u8
master.m3u8
Is is possible to upload the folder in one hit and if so how? I can't see anything about this in the docs. Or do I just need to mess about with individual files and upload them one by one iteratively as discussed here - How to upload multiple files to Firebase?
TIA