core
core copied to clipboard
S3 upload
I try to upload a file to s3. But is uploading an empty file. When I try streaming the file manually it also says that my file does not have a content-length. I guess it is the same error. But I can upload a file to s3, if I take the file from the path "uploads" with fs and upload it directly through Drive.
Package version
5.8.4
Node.js and npm version
v16.13.0 and 8.1.0
Sample Code (to reproduce the issue)
` const coverImage = request.file("file_content", { size: "2mb", extnames: ["jpg", "png", "gif"], })!;
await coverImage.moveToDisk("./test");`