Using CFHTTP to access a site and click on a download button...

Anyone know how to create a script that will go to a web page and download a file? The problem is that the url end site changes, for example, http://www.thesite.com/0101.html and the next time, it may be http://www.thesite.com/0102.html , the site will include a download button when press will download a zip file that I need saved on my local PC.

Mr President, you are lucky, I get bored and does not have the boss


 
 
   



   
   
       
       
       
       
        http://"(,thisContent) / >"
       
       
       
       
       
       
       
       
       
       

         
       
       
       
       
   

As I put it there the service is inaccessible for the moment so I can not actually the second part, but it is more or less identical to the first part - trying to find a few simple rules and consistent as to where on the page, the link will be, strip, make an another CFHTTP to get this file and then CFFILE to write it to disk.

Hope that helps, I'm leaving for a monster Café.

O.

Tags: ColdFusion

Similar Questions

Maybe you are looking for