Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
inet
active_desktop
active_scrptng
asp.components
asp.db
asp.general
comctl32
comp.packaging
components.dev
dbweb
dhtml_editing
docobjects
html_authoring
html_objmodel
iis
iis.ftp
iis.security
iis.smtp_nntp
indexserver
misc
mshtml_hosting
scripting.jscript
scripting.vbscript
sdk_setup
shell_objmodel
urlmonikers
webbrowser_ctl
wininet
  
 
date: Tue, 15 Nov 2005 08:57:02 -0800,    group: microsoft.public.inetsdk.programming.scripting.vbscript        back       


Simple VBScript to download file from a URL   
I need to write a simple Script (VBScript preferred), to download a file from 
a URL address every night. 
The URL format is as follow:
http://zzz.zzz.zzz.com:7778/xls/DC_Audit.xls

I tried to use CreateObject but have no idea whether Internet Explorer can 
be open as an Application in VBScript.

Any suggestion?

-- 
Teddy
date: Tue, 15 Nov 2005 08:57:02 -0800   author:   Ted

Re: Simple VBScript to download file from a URL   
This group gets very little traffic. You'd be better off posting this
question at microsoft.public.scripting.vbscript
Ted wrote:
> I need to write a simple Script (VBScript preferred), to download a
> file from a URL address every night.
> The URL format is as follow:
> http://zzz.zzz.zzz.com:7778/xls/DC_Audit.xls
>
> I tried to use CreateObject but have no idea whether Internet
> Explorer can be open as an Application in VBScript.
>
Yes. IE can be automated. Here's a google:
http://www.google.com/search?sourceid=navclient&ie=UTF-8&rls=GGLD,GGLD:2003-36,GGLD:en&q=vbscript+%22automate+Internet+Explorer%22

-- 
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
date: Tue, 15 Nov 2005 13:42:21 -0500   author:   Bob Barrows [MVP] com

Re: Simple VBScript to download file from a URL   
Ted schrieb:
> I need to write a simple Script (VBScript preferred), to download a file from 
> a URL address every night. 
> The URL format is as follow:
> http://zzz.zzz.zzz.com:7778/xls/DC_Audit.xls
> 
> I tried to use CreateObject but have no idea whether Internet Explorer can 
> be open as an Application in VBScript.
> 
> Any suggestion?
> 

ever heard about WGET ? A little tool to download from an URL like yours...
date: Fri, 25 Nov 2005 19:00:55 +0100   author:   Chris Mantik

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us