-
Notifications
You must be signed in to change notification settings - Fork 211
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added mimetype guessing #68
base: master
Are you sure you want to change the base?
Conversation
This would be quite useful. I just broke my website by replacing |
04f9661
to
bdd722c
Compare
bdd722c
to
702afc5
Compare
fixed up merge issues and reverted the formatting changes my IDE made |
I merged this branch into my fork and it seems to work fine. Very helpful for my project as I'm recursively pushing a large number of files from a directory and my site wouldn't work if I uploaded with s4cmd without specifying the mime type for each file individually. |
It looks like this change was not yet applied. This is a reason why I still have to use old slow s3cmd. Thanks. |
bump. |
I have same problem - it is not possible to use s4cmd for static site content upload without this patch. |
as a workaround, you may want to check https://github.com/peak/s5cmd |
Have added the option to guess mimetypes when uploading files. Uses much the same logic as S3cmd, have not implemented mimemagic logic.
Uses the same flags as S3cmd.
Fixes #67