search for: file_page

Displaying 3 results from an estimated 3 matches for "file_page".

2008 Apr 29
6
Intercepting an onClick file download
...my code (partial): agent = WWW::Mechanize.new { |a| a.log = Logger.new("mech.log") } agent.keep_alive = false agent.read_timeout = 60 # the page would timeout sometimes url = "https://website.com/page.php4" page = agent.get(url) page.links.text(/Export to CVS/).each { |link| file_page = agent.click(link) file_page.save_as(''output.csv'') return } What I get in output.csv is just the original page, not the .csv file. If someone could please help me understand how I can nab the file contents instead, I''d greatly appreciate it. (I actually want to ev...
2006 Jul 18
3
+ camping 1.4.138
Just up: gem install camping --source code.whytheluckystiff.net The changes: * Both bin/camping and Camping::FastCGI.serve now act according to the Camping Server specification.[1] * Docs are complete. _why [1] https://code.whytheluckystiff.net/camping/wiki/TheCampingServer
2006 Feb 21
6
+ camping/session
Camping now comes with a sessioning class, checked in tonight. To get sessions working for your application: 1. require ''camping/session'' 2. include Camping::Session in your application''s toplevel module. 3. In your application''s create method, add a call to Camping::Models::Schema.create_schema 4. Throughout your application, use the @state