marc wyburn wrote: > On Oct 17, 10:32 am, Heiko Schlierkamp <[EMAIL PROTECTED] > africa.com.na> wrote: >> I need to update the virus program every day with the new dat file from >> mcafee >> I would like to us a Bat file to go to the web page and download the dat >> file automatically to a specific Directory, that I have created, but my >> problem lays in that the bat file will open the file to be downloaded but >> the bat file does not confirm the save button so that it start to download >> the file, that I still need to do manual. Please advice me with what still >> need to be done!! >> Your help will be very appreciated!!! >> >> I have added the file so you can see what it does exactly!! >> >>> Heiko Schlierkamp >>> SENSE OF AFRICA - Namibia >>> E-mail: [EMAIL PROTECTED] >>> Website:www.sense-of-africa.com >>> Tel: +264 61 275300 >>> Fax: +264 61 263417 >>> PO Box 2058, Windhoek, Namibia >> <<Superdat.rar>> >> >> Superdat.rar >> 1KDownload > > I'm not going to open that file I'm afraid and I doubt many others > will either. You are using Python I assume. Have a look at the urllib > module and the urlretrieve function.
Or, for a non-Python solution, simply use wget (or some other command-line downloading program): http://users.ugent.be/~bpuype/wget/ TJG -- http://mail.python.org/mailman/listinfo/python-list