Jump to content

Possible to download a file via script?


Recommended Posts

Hi,

I have following scenario. Once time in the week we have to download the mcafee superdat file. Now i am looking for a script which downloads it from a http page. I looked for a ftp site but i had no luck.

Another problem is, that we are using a proxy with autentification.

Hope u can held me

cu later

Link to comment
Share on other sites


  • 3 weeks later...

create 2 files

1st file call it ftp.txt

user anonymous
helpdesk@microsoft.com
prompt off
binary
cd /pub/antivirus/datfiles/4.x
mget sdat*.exe
bye

2nd file call it get superdat.bat

@echo off
title getting superdat file
ftp -n -s:ftp.txt ftp.nai.com

then you can schedule the superdat.bat to download superdats every day!

i zipped up the code...

getsuperdats.zip

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...