Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

HTTP can't transfer videos?

5 views
Skip to first unread message

Michael Holroyd

unread,
Apr 5, 2012, 4:07:32 PM4/5/12
to ruby...@googlegroups.com
File.open("filename","rb") { |f| @s3.put "test-bucket", "filename", f }

when filename is a text file, this works fine, but when it's a video it fails with the weird:

WARN -- : Rightscale::HttpConnection : request failure count: 1, exception: #<Errno::EINVAL: Invalid argument>

Problem only exists if S3Interface is opened over HTTP:80 instead of the default HTTPS:443
Reply all
Reply to author
Forward
0 new messages