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

Support uploading blobs, with data-filename attribute #24

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rockrep
Copy link
Contributor

@rockrep rockrep commented May 4, 2014

Hi Max,

This PR allows someone to upload Blobs as opposed to files. Blobs don't necessarily have filenames, and the S3Multipart::Upload#validate_filetype expects the upload to have a name, so I added the data-filename attribute on the input file element which is read when the JS upload.name is null.

To upload a blob, set the S3MP fileList property to [myBlob, ...]

If you have a preferred way to handle this, please suggest. Thanks!

-Michael

@rockrep rockrep mentioned this pull request Jan 26, 2015
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

Successfully merging this pull request may close these issues.

1 participant