Verify it the file is ok first by writing to the filesystem. You may need to attempt to isolate the problem without much information.
On Sun, Jan 31, 2010 at 7:55 AM, Me <chabg...@gmail.com> wrote: > or this version is the same thing: > > f = S3Object.value @bucket, 'mybucket' > > On Jan 30, 3:22 pm, Me <chabg...@gmail.com> wrote: > > Anyone? I can see the file contents in the log file if I logger.info > > f. > > > > On Jan 29, 10:15 pm, Me <chabg...@gmail.com> wrote: > > > > > I am trying to get a file from the amazon bucket but it says "string > > > contains null byte". any idea how to get the file to download like a > > > regular file? The file is there at the location. > > > > > f = Heypub.value @bucket > > > send_file( f , :type => "FileExtns[ext]['mime']", :disposition => > > > 'attachment') > > -- > 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-t...@googlegroups.com. > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscr...@googlegroups.com<rubyonrails-talk%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > > -- 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-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.