Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] following re-direction

From: rchristiansen::pop::isdfa::sei-it::com at: 28-Dec-2000 17:12

There is a software site where they use some sort of re-direct to send you to the correct URL for a download. For example, here is the URL which appears on the page and which the browser sends back to the server requesting the file... http://www.bebits.com/bob/4515/3KBnewsreader.zip The web server receives this URL and then re-directs the request to a different URL. In this case I happen to know the URL (because it is my software.) http://www.beosjournal.com/rebol/3KBnewsreader.zip In the console session, you can see the re-direction, but REBOL only returns the domain and not the sub-directories nor the destination file name.
>> read http://www.bebits.com/bob/4515/3KBnewsreader.zip
connecting to: www.bebits.com connecting to: www.beosjournal.com == {PK^C^D^T^@^@^@^H^@‰^BÜ(Õ¯ç^_... Using REBOL, how can I find out the full URL I have been re-directed to in this situation? Thanks. -Ryan