Batch file to open an Intranet page and save file

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
spradhan
Posts: 3
Joined: 28 May 2014 11:24

Batch file to open an Intranet page and save file

#1 Post by spradhan » 29 May 2014 08:44

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!

foxidrive
Expert
Posts: 6031
Joined: 10 Feb 2012 02:20

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

#2 Post by foxidrive » 29 May 2014 08:46

If you have the URL to the file then wget can be used to download it.

Compo
Posts: 600
Joined: 21 Mar 2014 08:50

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

#3 Post by Compo » 29 May 2014 09:58

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!

Post Reply