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 <[email protected]> wrote:

> or this version is the same thing:
>
> f = S3Object.value @bucket, 'mybucket'
>
> On Jan 30, 3:22 pm, Me <[email protected]> wrote:
> > Anyone?  I can see the file contents in the log file if I logger.info
> > f.
> >
> > On Jan 29, 10:15 pm, Me <[email protected]> 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 [email protected].
> To unsubscribe from this group, send email to
> [email protected]<rubyonrails-talk%[email protected]>
> .
> 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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to