Skip to content
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

Allow users to define content-type in batch upload #6466

Closed
troydai opened this issue May 30, 2018 · 6 comments · Fixed by #12237
Closed

Allow users to define content-type in batch upload #6466

troydai opened this issue May 30, 2018 · 6 comments · Fixed by #12237
Assignees
Labels
Storage az storage
Milestone

Comments

@troydai
Copy link
Contributor

troydai commented May 30, 2018

Reference:
#6402
#6257

Ideas:

  1. Allow --content-type accept multiple file extension to content type pairs.
  2. Allow --content-type-map accept a configure file.
  3. Allow a configuration file under .azure folder.
  4. Allow a configuration file under the source folder.
@troydai troydai added the Storage az storage label May 30, 2018
@tjprescott tjprescott assigned limingu and unassigned williexu Mar 26, 2019
@limingu
Copy link
Member

limingu commented May 16, 2019

Azcopy is supporting --content-type. The CLI is planning to migrate Azcopy for the storage upload.
--content-type string specifies content type of the file. Implies no-guess-mime-type.

@tjprescott
Copy link
Member

tjprescott commented May 20, 2019

@limingu since this issue was created internally by the time, you can close this if we don't plan to implement.

@Juliehzl
Copy link
Contributor

@zezha-msft Can you take a look at azcopy? It looks it doesn't work with content-type and it still use file extension.

@yonzhan yonzhan modified the milestones: S166, S167 Mar 5, 2020
@yonzhan
Copy link
Collaborator

yonzhan commented Mar 5, 2020

@zezha-msft any update?

@zezha-msft
Copy link

Hi @Juliehzl @yonzhan sorry for the delay (I've been on leave), could you please show the command that you used?

@Juliehzl
Copy link
Contributor

Hi @Juliehzl @yonzhan sorry for the delay (I've been on leave), could you please show the command that you used?

Hi @zezha-msft, it is resolved in new azcopy! thanks for your reply!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Storage az storage
Projects
None yet
Development

Successfully merging a pull request may close this issue.

9 participants