Scripts Thread, Script to get all file on a url in Coding and Web Development; I'm trying to find a way to automatically download all the files from the AV update site so that they ...
-
22nd January 2007, 02:39 PM #1 Script to get all file on a url
I'm trying to find a way to automatically download all the files from the AV update site so that they are hosted onsite.
ie i want a script to go to this website and download all files and stop them in a directory.
http://speedownload.nai.com/products/commonupdater/
anyone have any ideas to save me having to manually do it?
-
-
IDG Tech News
-
22nd January 2007, 03:08 PM #2 Re: Script to get all file on a url
-
-
22nd January 2007, 03:17 PM #3 Re: Script to get all file on a url
You could also use wget to pull them thru your webcache and then delete them, so you don't end up with loads of ancient guff on disk. The option's in the manpage somewhere
-
-
23rd January 2007, 11:18 AM #4 Re: Script to get all file on a url
I tried wget previously, but it fails, might be the proxy playing up though.
-
-
23rd January 2007, 11:22 AM #5 Re: Script to get all file on a url
Set the proxy for wget in the wgetrc configuration file.
-
-
23rd January 2007, 01:10 PM #6 Re: Script to get all file on a url
you can use the execwb command from the internetexplorer.application object:
dim ie
set ie.createobject("internetexplorer.application")
ie.visible=false
ie.navigateto("<url here>")
do while ie.busy=true
wscript.sleep 60
loop
ie.document.execwb("saveas",2,<destinationpathhere >)
ie.quit
obviously you would have to somehow enumerate all the files that exist on that url some how....
-
SHARE: 
Similar Threads
-
By ajbritton in forum Web Development
Replies: 4
Last Post: 21st January 2008, 09:56 PM
-
By FN-GM in forum Scripts
Replies: 3
Last Post: 27th December 2007, 12:17 AM
-
By russdev in forum Scripts
Replies: 8
Last Post: 8th August 2007, 05:34 AM
-
By ajbritton in forum Web Development
Replies: 3
Last Post: 26th October 2006, 08:51 PM
-
By tosca925 in forum Scripts
Replies: 4
Last Post: 23rd March 2006, 06:27 AM
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules