t56k
t56k

Reputation: 7001

Uploading large files with Paperclip

I want to be able to routinely upload about 3x 20mb files to a specific type of record in a Rails app. So far I'm using Paperclip and I get a pretty average success rate and a lot of EOF (bad content body) errors.

What can I do to improve the situation? Googling rails large upload doesn't turn much up.

Upvotes: 0

Views: 1083

Answers (1)

Ben
Ben

Reputation: 2156

Uploading large files, while slow, should succeed. The EOF (bad content body) error seems unrelated.

What are you using to upload the files? A standard multipart web form? And is anything unusual happening with the server configuration? Or are you using POW? Apparently POW users have reported similar issues.

For large files, I typically use S3 for storage and would recommend uploading directly to S3.

Upvotes: 1

Related Questions