You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used the b2 sync command to sync a folder from my server to B2, but the content types (file types) were not what they should've been. I am uploading .ts and .m3u8 files for HLS videos and need their content types to be set to "video/mp2t" and "application/vnd.apple.mpegurl" respectively. I can manually set them using the b2 upload-file command, but I have thousands upon thousands of files to upload and the sync command is much faster and more ideal to use.
I couldn't find any documentation for the sync command on setting the content types.
Are the content types (mime types) coming from what's defined in my system or are they automatically being set on B2's end when they are received?
Is there a way to make sure the content types are set correctly while using the sync command?
Thanks
The text was updated successfully, but these errors were encountered:
I used the b2 sync command to sync a folder from my server to B2, but the content types (file types) were not what they should've been. I am uploading .ts and .m3u8 files for HLS videos and need their content types to be set to "video/mp2t" and "application/vnd.apple.mpegurl" respectively. I can manually set them using the b2 upload-file command, but I have thousands upon thousands of files to upload and the sync command is much faster and more ideal to use.
I couldn't find any documentation for the sync command on setting the content types.
Are the content types (mime types) coming from what's defined in my system or are they automatically being set on B2's end when they are received?
Is there a way to make sure the content types are set correctly while using the sync command?
Thanks
The text was updated successfully, but these errors were encountered: