Offtopic - Web Stuff
- Posted by Mark Brown <mabrown at SENET.COM.AU> Nov 24, 2001
- 396 views
This is a multi-part message in MIME format. ------=_NextPart_000_003D_01C175CF.26A96400 charset="iso-8859-1" Hi Everyone, I have been trying to find a method to directly download some PDF documents (lots actually) from I web site in an automated way. As part of the experiment, I tried creating a simple html page with the direct links to the documents I require, the idea being that I could just click the link to each document to download. Unfortunately, this did not work. However, pasting the URL directly into IE's address bar does work. It would seem that the "secondary" linking I tried has a problem. Does anyone know why? Here is an example link..... http://dfswebapp.tabnsw.com.au/get_dfs.asp?race=01&event=SR&type=WS I am registered to the site......a logon is required so clicking the above wont work for anyone else. I would be grateful if someone could explain how the link works when the server receives it and if there is anything I can do to automate the process. Many thanks! Mark ------=_NextPart_000_003D_01C175CF.26A96400 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: 8bit <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=iso-8859-1"> <META content="MSHTML 5.50.4134.100" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=#ffffff> <DIV><FONT face=Arial size=2>Hi Everyone,</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>I have been trying to find a method to directly download some PDF documents (lots actually) from I web site in an automated way.</FONT></DIV> <DIV> </DIV> <DIV><FONT face=Arial size=2>As part of the experiment, I tried creating a simple html page with the direct links to the documents I require, the idea being that I could just click the link to each document to download.</FONT> <FONT face=Arial size=2>Unfortunately, this did not work. However, pasting the URL directly into IE's address bar does work. </FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>It would seem that the "secondary" linking I tried has a problem. Does anyone know why?</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>Here is an example link.....</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><A href="http://dfswebapp.tabnsw.com.au/get_dfs.asp?race=01&event=SR&type=WS"><FONT face=Arial size=2>http://dfswebapp.tabnsw.com.au/get_dfs.asp?race=01&event=SR&type=WS</FONT></A></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>I am registered to the site......a logon is required so clicking the above wont work for anyone else.</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>I would be grateful if someone could explain how the link works when the server receives it and if there is anything I can do to automate the process.</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>Many thanks!</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>Mark</FONT></DIV>