mirror of
https://github.com/dutchcoders/transfer.sh.git
synced 2026-02-03 14:13:26 +00:00
File upload fails #329
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Destroyer on GitHub.
I am trying to upload 1GB file but right at the start I get this error:
Error (0) during upload of file. Can you please fix it?@techburgher commented on GitHub:
It seems like the ContentLength is capping out at 4294967295 bytes, preventing a file larger than this from properly uploading.
I see the following logged by the server:
2018/03/02 14:29:25 Uploading cA3TH 10g.bin 4294967295 application/octet-stream
The transfer craps out after uploading 4294967295 bytes of my 10 GB file. How would one go about correcting this?
@paolafrancesca commented on GitHub:
@techburgher cannot reproduce locally both with local and gdrive storage (I don't have an s3 account to test on). Anyway the content-lenght you see in the output of the server is calculated before sending to the storage and it comes from the
Content-Lengthheader sent from the client (unless the client sends-1, in this case the value is calculated according to the size of the data copied to a tmp file buffer)what storage do you use? can you run curl with verbose flag and past the output?
@Taxel commented on GitHub:
Same here with a 4.04 GB mp4 file
@techburgher commented on GitHub:
@Favna I'm running a local copy of the server and am running into this issue.