upload_file return value
See original GitHub issueBoth PutObject and CompleteMultipartUpload respond with data that includes the VersionId and ETag. [1] [2]
It would be really useful if S3Transfer.upload_file could return this response, or some part of the response.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:9
- Comments:6 (1 by maintainers)
Top Results From Across the Web
File Upload Return Value - Stack Overflow
It's the return value from PHP's serialize() function when passed an array equivalent to the following: array( 0 => "9201", 1 => "9206"...
Read more >WebClient.UploadFile Method (System.Net) - Microsoft Learn
The following code example uploads the specified file to the specified URI using UploadFile. Any response returned by the server is displayed on...
Read more >How can I get a return value from $_FILES ? - CodeProject
When I try to upload a file, I want to test if the file is uploaded, so trying to put $_FILES in alert...
Read more >Request Files - FastAPI
Define a file parameter with a type of UploadFile : ... If you use File , FastAPI will know it has to get...
Read more >The uploadFile method - IBM
uploadFile (source,target,versionFlag) ... String, The fully qualified path (on the local file system) of the file to upload ... Return value for uploadFile...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

A few options I’ve thought of to work around this:
looks like this isn’t going anywhere. This actually destroys the viability of using s3transfer manager in any case where there could potentially be more than one version uploaded, as one can’t guarantee that the data from a subsequent ‘head’ call refers to the same file – since s3 is eventually consistent.
That’s a pretty bad breakage, rather than just a feature request.