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

Change content-type of uploading file #5

Open
frodberserk opened this issue Dec 22, 2014 · 5 comments
Open

Change content-type of uploading file #5

frodberserk opened this issue Dec 22, 2014 · 5 comments

Comments

@frodberserk
Copy link

How can I specify the content type of the file being uploaded?

@achinverma
Copy link

hi , i have the same issue, all the files are saved wth .bin extension , i am not able to set the content type of the file being uploaded

@frodberserk
Copy link
Author

@achinverma I found a workaround, I will post it.

@achinverma
Copy link

thanks @frodberserk for your reply , i will wait for your post

@frodberserk
Copy link
Author

Use this Uploader.java. I set the content type to "image/jpeg"
statically. You can modify it according to your need.

http://pastie.org/10081926

@achinverma
Copy link

thanks for your help

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

No branches or pull requests

2 participants