Rather than having a file upload field, I want to have a text field where a URL can be specified, then get the file from the URL and treat it like a typical file upload (presumably saving it in /tmp). Anybody know how to do this? Thanks csn __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
On 1/12/06, CSN <cool_screen_name90001@yahoo.com> wrote:> Rather than having a file upload field, I want to have > a text field where a URL can be specified, then get > the file from the URL and treat it like a typical file > upload (presumably saving it in /tmp). Anybody know > how to do this?http://www.ruby-doc.org/stdlib/ Look at the entry for net/http. It gives an example of this.