Title: Downloading Files VIA Win32::OLE and IE.5

You maybe will �find helpful contents of this file : http://web.telecom.cz/cmincmin/OLE-XMLHTTP.zip

(WinZip file, size: 1,691,192 bytes, Digest::MD5::hexdigest: d41d8cd98f00b204e9800998ecf8427e)

A bit of� relevat original Microsoft documentation I have included for convenience makes it such horribly huge – SORRY

JB

 

 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent:
Friday, November 01, 2002 1:39 PM
To: [EMAIL PROTECTED]
Subject: Downloading Files VIA Win32::OLE and IE.5

 

Hi All,

I'm trying to download some files off the internet using Win32:OLE.  But I can't work out how automate the Save to Disk part. I've searched the mail archives and there's plenty of examples of extracting the HTML, but how do I save to disk?

use Win32::OLE;
$IE  = Win32::OLE -> new("InternetExplorer.Application");
$URL = ""http://www.cisco.com/global/EMEA/networkers/presentations/ACC-131_Peter_Tomsu.zip";
$IE -> Navigate($URL);
sleep 1 while ($ie->{ReadyState} < 4);
$IE -> {Visible}=1;
# What do I need to do here to tell IE where to save the file?

 

Thanks in advance,

Alistair



Registered Office:
Marks & Spencer p.l.c
Michael House, Baker Street,
London, W1U 8EP
Registered No. 214436 in England and Wales.

Telephone (020) 7935 4422
Facsimile (020) 7487 2670

www.marksandspencer.com

Please note that electronic mail may be monitored.

This e-mail is confidential. If you received it by mistake, please let us know and then delete it from your system; you should not copy, disclose, or distribute its contents to anyone nor act in reliance on this e-mail, as this is prohibited and may be unlawful.

The registered office of Marks and Spencer Financial Services PLC, Marks and Spencer Unit Trust Management Limited, Marks and Spencer Life Assurance Limited and Marks and Spencer Savings and Investments Limited is Kings Meadow, Chester, CH99 9FB.

Reply via email to