Re: download a file protected with htaccess

2008-10-25 Thread Jeff Pang
2008/10/26 OXx <[EMAIL PROTECTED]>: > Hello all, > > I want to download a file protected with a htaccess. I saw the getstore > function with lwp:Simple module but authentification does not work. > I saw a code with lwp::useragent > use LWP::UserAgent; > $ua = LWP::Use

download a file protected with htaccess

2008-10-25 Thread OXx
Hello all, I want to download a file protected with a htaccess. I saw the getstore function with lwp:Simple module but authentification does not work. I saw a code with lwp::useragent use LWP::UserAgent; $ua = LWP::UserAgent->new; $req = HTTP::Request->new(GET=> $

Re: login and download a file from a website

2007-12-01 Thread Eric Krause
GunabalanS wrote: hai i want to login and down load a page from a web sire using perl Here's a web page that helped me figure it all out. http://www.ibm.com/developerworks/web/library/wa-perlsecure.html Cheers. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: login and download a file from a website

2007-12-01 Thread Jeff Pang
On Dec 1, 2007 11:28 AM, GunabalanS <[EMAIL PROTECTED]> wrote: > hai > i want to login and down load a page from a web sire using perl > > the answer is: use a module from CPAN like WWW::Mechanize and code it by yourself. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mai

login and download a file from a website

2007-12-01 Thread GunabalanS
hai i want to login and down load a page from a web sire using perl -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

RE: script to download a file. Script to

2002-12-16 Thread \(William\) Wenjie Wang
How about lwp-download.bat comes with the installation of ASPerl(on Windows)? >-Original Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] >Sent: Tuesday, 17 December 2002 5:09 AM >To: [EMAIL PROTECTED] >Subject: script to download a file. Script to >

script to download a file. Script to

2002-12-16 Thread William.Ampeh
Hello, I was wondering is anyone will be willing to share a Perl script to download a file with me. I tried the example on CGI::Simple, but I do not know how to make reference to my proxy server "xyx" in the script. What I ended up doing is to set the "http_server" variable

Script to Download a file from server to a C:/D:

2002-02-05 Thread Kayren Phillips
Hello There!! I am trying to write a script that will download any file that has been requested from my server to anywhere on the requestor's local hard drive (C: /D: /F: etc.). I have been working on this script for two weeks now, not much success. Can someone help point me in the correct direct

Re: R: download a file

2001-07-09 Thread Aaron Craig
At 12:59 07.07.2001 -0400, Fred Fortin wrote: > >> Why don't you just do print qq~ > >>http://my.host.com/name_of_file.xxx";>Click to getfile~; > >>and let the browser handle the rest for you. > >> > >>Because in that case, files like .txt or .html would appear in the browser > >>instead of being

R: download a file

2001-07-07 Thread Fred Fortin
>> Why don't you just do print qq~ >>http://my.host.com/name_of_file.xxx";>Click to getfile~; >>and let the browser handle the rest for you. >> >>Because in that case, files like .txt or .html would appear in the browser >>instead of being downloaded to my harddrive. This is not very helpfull >>

Re: download a file

2001-07-07 Thread Peter Scott
At 11:13 AM 7/7/01 -0400, [EMAIL PROTECTED] wrote: > > Why don't you just do print qq~ >http://my.host.com/name_of_file.xxx";>Click to getfile~; >and let the browser handle the rest for you. > >Because in that case, files like .txt or .html would appear in the browser >instead of being downloaded

Re: download a file

2001-07-07 Thread fred
Perl, but I'm pretty sure > >Perl can help solve it. > > > >Here is the thing : > > > >I want to be able to download a file (any kind of file) directly from my > >browser. I'm using this code below : > > > >#!/usr/bin/perl > > &

Re: download a file

2001-07-07 Thread Aaron Craig
n help solve it. > >Here is the thing : > >I want to be able to download a file (any kind of file) directly from my >browser. I'm using this code below : > >#!/usr/bin/perl > >my $size = 19456 # 19k * 1024; >my $fileName = "budget.xls"; # name of the fil

download a file

2001-07-06 Thread fred
This problem might not be entirely related to Perl, but I'm pretty sure Perl can help solve it. Here is the thing : I want to be able to download a file (any kind of file) directly from my browser. I'm using this code below : #!/usr/bin/perl my $size = 19456 # 19k * 1024; my