Hey there,
So I''ve started using the AWS::S3 ruby library to interface (http://
amazon.rubyforge.org/).
I''ve installed properly, created buckets, I haven''t have any
luck
storing files with the following syntax:
file = ''c:/path/to/file''
S3Object.store(file, open(file), ''bucketname'')
getting ASW:S3::RequestTimeout: errors from S3 every time. As you
might be able to tell, I''m running Rails on a PC (boo, I know).
However, I''ve tried uploading with several different path types, e.g.
/path/to/file
\path\to\file
c:/path/to/file
c:\path\to\file
So, my question is, what are the requirements for file paths to be
uploaded? Must the file be located on my webserver? If so, do they
need to be in /public?
Or, can I specify files located anywhere on c:\ ? Is this whole thing
futile with a PC?
Thanks so much. It would be great to get this working.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---