How to resolve cURL error when uploading to AWS S3 using rest API?

I’ve got a pre-signed URL and am trying to use cURL to upload to S3

curl -X PUT [PresignedUrl]' \
-d '@/Volumes/[Volume]/Path/To/File.mov' \
-H 'Content-Type: video/quicktime' \
-H 'Content-Length: [FileSize]'

The upload seems be working until the last few bites, when I get the error curl: (56) LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 54