Instantiating File from a remote url in a rails controller

Posted by Thiago on Stack Overflow See other posts from Stack Overflow or by Thiago
Published on 2010-06-14T21:33:45Z Indexed on 2010/06/15 9:32 UTC
Read the original article Hit count: 253

Filed under:

Hi there,

Is there a way to have something like this:

File.new('http://hostname/myfile.zip')

inside a controller?

Thanks in advance

© Stack Overflow or respective owner

Related posts about ruby-on-rails