how to to script to downlaod a file given in a http url

From: gg (gg_at_nomail.nil)
Date: 02/05/05


Date: Fri, 4 Feb 2005 22:48:21 -0700

how to script to download a file given in a http url without user
intervention and still be able to control where the file is save?

I tried
   Const myFileUrl = "http://www.mysite.com/somedirectorypath/somefilename"

   Dim oIeDnLod
   set oIeDnLod = CreateObject("InternetExplorer.Application")
   oIeDnLod.navigate(strUrl)

   do until oIeDnLod.readystate = 4
      wscript.sleep 20
   loop
...

But that result in a window dialog prompt.

what is a better approach? am I using the wrong tool?



Relevant Pages

  • Re: 2003 v. 2005 studio - need some help, please.
    ... To reiterate what the other posters wrote - just download the free version of 2005. ... DataBinding is practically perfected in VS2005 with the BindingManager control. ... let's not forget the fantastic new DataGridView. ... get now or wait or yadda yadda yadda. ...
    (microsoft.public.dotnet.languages.vb)
  • Is this possible in VB.Net?
    ... Controlling Download and Execution ... The WebBrowser Control gives you control over what it downloads, displays, ... if these flags are set. ...
    (microsoft.public.dotnet.general)
  • Re: setting printer margins
    ... it is not a dead link. ... You don't have to download anything. ... The looping back after the control is installed is normal. ...
    (microsoft.public.windowsxp.newusers)
  • Re: web page communicating with an applet
    ... set group of browsers, and have control over ... browsers it is supported on, ... Had you considered breaking up the app. ... Also - webstart has a 'lazy download' ...
    (comp.lang.java.programmer)
  • Is this possible in VB.Net?
    ... Controlling Download and Execution ... The WebBrowser Control gives you control over what it downloads, displays, ... if these flags are set. ...
    (microsoft.public.dotnet.languages.vb)

Loading