Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > send_file sends an empty file to browser

Thread Tools

send_file sends an empty file to browser

De Co
Posts: n/a
I'm using merb as a framework but I suspect the issue is related to ruby
and my system.

When I use send_file with an absolute path it sends an approrpriately
named file to the browser, but the file is empty. The file exists on
the disc and has content. Any suggestions about resolving this? I've
been struggling with this for a few days now.

Posted via

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
send_file confusion lynn Ruby 2 06-18-2008 04:57 AM
IIS sends empty .CSS file BGU ASP .Net 1 07-13-2007 09:45 PM
What Send_file will return Mitesh Jain Ruby 1 06-11-2007 10:46 AM
After using Send_File Mitesh Jain Ruby 0 06-11-2007 09:55 AM
IMS queues when Outlook client sends email but sends fine with OWA??? =?Utf-8?B?c2hhb2xpbmRy?= MCSE 1 05-17-2004 12:01 PM