Page 1 of 1

Batch file to open an Intranet page and save file

Posted: 29 May 2014 08:44
by spradhan
Currently I have to do this manually on a monthly basis. I am trying to see if there is a batch script to automate this. The steps I need to perform are:

1. Open company intranet site (e.g. http://companyintranet.net)
2. There is an Excel file posted in the site (e.g. Masterfile.xls). I need to grab that Excel file.
3. Save the Excel file in a folder in network drive (e.g. E:\Masterfiles)

Is there a batch file to perform these steps? It'll be a great help!

Thanks!

Re: Batch file to open an Intranet page and save file

Posted: 29 May 2014 08:46
by foxidrive
If you have the URL to the file then wget can be used to download it.

Re: Batch file to open an Intranet page and save file

Posted: 29 May 2014 09:58
by Compo
Surely you're not looking for someone to help save you from the arduous monthly task of clicking on a URL and selecting a download link!