AdRoll / goamz

Fork of the GOAMZ version developed within Canonical with additional functionality with DynamoDB
https://wiki.ubuntu.com/goamz
Other
401 stars 214 forks source link

s3: how to track upload progress #427

Open aeneasr opened 8 years ago

aeneasr commented 8 years ago

I'd like to track the how far the current progress of an upload is. This is how I'm uploading:

    svc := s3.New(h.awsSess)
    uploader := s3manager.NewUploaderWithClient(svc)
    _, err = uploader.Upload(&s3manager.UploadInput{
        Body:                 reader,
        Bucket:               &h.bucketName,
                // ....
    })

I couldn't find anything on that topic and it does not look like there's anything in the code for it.