Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > Download file, allow cookies

Reply
Thread Tools

Download file, allow cookies

 
 
fedekun
Guest
Posts: n/a
 
      08-02-2009
Hi, well, when i download an image from a site, instead of download
the required image it downloads an image which says "Allow Cookies".
How can i download that image?
This is what i was using

writeOut = open(first_page.to_s + "."+extension, "wb")
writeOut.write(open(img_to_download).read)
writeOut.close
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Give Request.Cookies and Response.Cookies is there any reason to use another method to use cookies? _Who ASP .Net 7 09-18-2008 07:49 PM
newbie: allow deny vs deny allow Jeff ASP .Net 2 09-19-2006 02:12 AM
Easy way for user to allow cookies from my IFRAMED web page? Robert Oschler Javascript 0 09-06-2005 09:10 PM
Location element in the Web.config file. Allow System Admin whole directory, allow others specific page Ryan Taylor ASP .Net Security 1 09-09-2004 06:52 PM



Advertisments