thanks Yes, I sent them a message asking for an additional API call ( there is only an upload call..) I could find the exact url they are calling to get the file for download... it's an amazon S3 url, so it has keys + protection no way to play with it...
On 15 sep, 22:33, Parker Selbert <[email protected]> wrote: > Kad Kerforn wrote: > > If the above link is a URI representing the file ... no, it's a > > request to anotherdomain.com for getting the resource with ID 579633 > > > when I use this url in a browser : "http://www.anotherdomain.com/ > > resource/download/579633" > > then the file (a pdf file in this case) is automatically downloaded > > I guess the site is a RoR site, and my request is processed and the > > file is sent using send_file > > > so, I cannot use this url has a file url directly.... GET "http:// > >www.anotherdomain.com/resource/download/579633" > > Unless it is possible to get the exact url that represents the other > resource you're trying to download I can't see how you'll save the > resource locally. Is this a service you have a correspondance with? Look > into how to link directly, maybe contact the site maintainer. > > Perhaps somebody else will have a good method for capturing though. > -- > Posted viahttp://www.ruby-forum.com/. -- 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.

