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
AWSS3 0 byte downloads #543
Comments
@sergeh Hi, which adapter are you using, v2 or v3? |
Look at this line: |
@frankdejonge I'm using v2 but I think I figured the solution, removing the |
@GrahamCampbell that's not needed, it's a function to output a resource. |
@sergeh well, that sounds pretty reasonable. It probably caused a malformed header to be returned, causing recipient to error while interpreting the http response. |
@sergeh if it works now and nothing is broken, could you close the issue? Otherwise, feel free to ask more questions. |
@frankdejonge just did more tests on production and it seems to work fine, thanks! |
I'm not exactly sure what I'm doing wrong but for some reason when I try to force a download it returns a 0 byte file even though the file is in the bucket. Uploading files to the bucket works fine.
Here's what I have for forcing a download via ajax when a user clicks a button
getSize
andgetMimetype
return the correct info butstream_get_contents($stream)
returns null, any ideas why?The text was updated successfully, but these errors were encountered: