LWP::Useragent htaccess does not work

2008-10-29 Thread OXx
Hello all, I try to make a script to download a file with htaccess. I have the error 401, it does not work. Why my script do not use my credentials? #!/usr/bin/perl use LWP::UserAgent; my $ua = LWP::UserAgent->new; $ua->credentials( '192.168.0.200:443', 'weba', 'myuser' => 'mypass'

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=> $url);$req->authorization_bas

Re: use Net::SMTP with Exchange server

2006-12-13 Thread OXx
Hello, Thanks for your answer, I will use Mail::Sender But which authentication could I use ? NTLM ? Best Regards OxXo 2006/12/13, Jenda Krynicky <[EMAIL PROTECTED]>: From: OXx <[EMAIL PROTECTED]> > I would like to know if it possible to use Net:smt

use Net::SMTP with Exchange server

2006-12-13 Thread OXx
le and can help me . Best Regards OxX

Re: Running Perl Code in Windows

2006-04-24 Thread OXx
It works fine with PAR module. http://search.cpan.org/~smueller/PAR-0.92/lib/PAR.pm Then no dependencies on others worstations. Just execute your ptogram without perl..

Net::ARP On Windows

2006-02-27 Thread OXx
Hello all, Someone try this module on Windows Workstations? It is not in the PPM , so I try to install it manually. Regards OXx

perl as service problem

2006-01-19 Thread OXx
can help me Regards OXx

Re: Win32::TieRegistry problem

2006-01-18 Thread OXx
Thanks very much Timothy, it is exactly what I want. In fact I forgotten to check the Key with definied I will add too strict and warnings to have a better code . It works fine, I will continue my tests. Best Regards OxX 2006/1/18, Timothy Johnson <[EMAIL PROTECTED]>: > > > I

Win32::TieRegistry problem

2006-01-17 Thread OXx
y= $Registry->{"LMachine/Software/Microsoft/Windows/CurrentVersion/Uninstall/$entry"}; *$valueString= $Key->GetValue("DisplayName");* $valueString=~s/ //g; $list_soft{$valueString} = $p; } Thanks for your help Oxx

LWP::User Agent error 304

2005-12-25 Thread OXx
rer or Mozilla no problem. But with my script , the upload does not work , I have this in my apache logs: 192.168.0.1 "POST upload.php" HTTP/1.1" 200* 304* Someone have an idea, it seems a cache problem? Thx Oxx

Win32::daemon start as service problem

2005-12-13 Thread OXx
Hello all, I try to launch my perl application as a windows service. I compile it with PAR so I have mysoft.exe Then i installed win32::daemon, no problem. I try this script so: use Win32::Daemon; %Hash = ( machine => '', name=> 'PerlTest', display => 'Oh m

Re: sort files by creation time

2005-12-13 Thread OXx
Hello all, I try to launch my perl application as a windows service. I compile it with PAR so I have mysoft.exe Then i installed win32::daemon, no problem. I try this script so: use Win32::Daemon; %Hash = ( machine => '', name=> 'PerlTest', display => 'Oh m