send_file sends an empty file (0bytes)

3 views
Skip to first unread message

sso

unread,
Jul 1, 2010, 1:45:09 PM7/1/10
to merb
Hi
I have files on my system that I need users to be able to download
files. (I'll worry about auth a bit later).

I pass send_file /the/full/path/to_file.txt and it sends a file named
to_file.txt to the browser but the file has no contents. I can't
figure this out for the life of me.

Any suggestions about why this isn't working?

Pavel Kunc

unread,
Jul 10, 2010, 4:09:03 PM7/10/10
to merb
I've spotted this one on the IRC. Did you got your issue solved?

Pavel
Reply all
Reply to author
Forward
0 new messages