10000 S3 upload: nothing happening? · Issue #700 · nervgh/angular-file-upload · GitHub
[go: up one dir, main page]

Skip to content
S3 upload: nothing happening? #700
@mcblum

Description

@mcblum

It's quite possible I'm doing this completely wrong -- I couldn't find any examples of S3 uploads. We're using pre-signed URLs from our API. This code hits the correct URL but doesn't include any formData at all. What do I need to do?

$ctrl.uploader = new FileUploader(uploaderOptions);
        $ctrl.uploader.onAfterAddingFile = function(item) {
            UploadFactory.getPresignedUrl().then(function(response) {
                item.url = response.data.attrs.action;
                item.formData = response.data.additionalData;
                item.upload();
            }, HandleError);
        };

Thank you for your help on this and for working on this package!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0