[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Amazon s3sh socket connection error

Jamal Soueidan

10/1/2007 8:32:00 PM

Hello there,

I'm using Windows XP to connect to Amazon webservices using s3sh
library.

I'm facing problems with uploading files to my bucket.

AWS::S3::S3Object.store("paper.pdf",
open("paper.pdf"),
"this_is_my_uniqe_bucket",
:access => :public_read)

This trows exception:

Your socket connection to the server was not read from or written to
within the timeout period. Idle connections will be closed.

If I change the above open method to:

open("paper.pdf")

=

"paper.pdf"

Then I get no error?

Can somebody tell me whats going on here, and thanks help :)

Regards,
Jamal
--
Posted via http://www.ruby-....