Here is a script I created... contains the lines that I think you are looking for -
$ua->proxy('http', 'http://webproxy:9119');
$address = "http://edadocs.ogden.disa.mil:8104/contracts/$site/$filename";
$rc = getstore ($address, "/tmp/$filename2");
Hope this helps,
Dan
-----Original Message-----
From: Octavian Rasnita [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 04, 2004 1:34 PM
To: [EMAIL PROTECTED]
Subject: Using a proxy
Hi all,
Can anyone please tell me how can I use a proxy server in order to GET an
html file from a server?
I have seen only examples using env_proxy=>0 but no example for using a
certain proxy.
I have a proxy and a port number that I would like to use. Does it matter if
it is an HTTP or a socks proxy?
Thank you.
Teddy
eda_getfile.pl
Description: eda_getfile.pl
