HTTPS Certificate web site problems

2005-11-02 Thread Kalin Dimov
hi,

i would like to download a page, which is protected by
hardware and software security certificate which is
installed on PC.
When i want to logon to this page i must do the
following things
1. Choose the certificate
2. Enter the password for this certificate 
3. Confirm the certificate validity 
4. Enter the user name and random generated password
from vasco generator(www.vasco.com) on the https web
site

After this steps i can download the files from the Web
Site  for further processing. I am using WinXP PRo,
IE6SP1, GNU Wget 1.10 With OpenSSL compiled from Heiko
Herold

Here i will paste some of my tries:
wget.exe --certificate=file
https://xxx.xxx.xxx.xxx/logs/AXLog.do --certificate
-type=DER --save-cookies=cookies.txt
--keep-session-cookies --post-data
login=userpassword=nn
--13:39:45--  https://xxx.xxx.xxx.xxx/logs/AXLog.do
   = `AXLog.do'
OpenSSL: error:0D0680A8:asn1 encoding
routines:ASN1_CHECK_TLEN:wrong tag
OpenSSL: error:0D07803A:asn1 encoding
routines:ASN1_ITEM_EX_D2I:nested asn1 erro
r
OpenSSL: error:140AD00D:SSL
routines:SSL_CTX_use_certificate_file:ASN1 lib
Disabling SSL due to encountered errors. 

wget.exe https://xxx.xxx.xxx.xxx/logs/AXLog.do
--certificate-type=DER --save-cookies=cookies.txt
--keep-session-cookies --post-data
login=userpassword=nn -d
DEBUG output created by Wget 1.10 on Windows.

--14:21:44--  https://xxx.xxx.xxx.xxx/logs/AXLog.do
   = `AXLog.do'
Connecting to xxx.xxx.xxx.xxx:443... seconds 0.00,
connected.
Created socket 1940.
Releasing 0x00962678 (new refcount 0).
Deleting unused 0x00962678.
Initiating SSL handshake.
SSL handshake failed.
OpenSSL: error:14094410:SSL
routines:SSL3_READ_BYTES:sslv3 alert handshake failu
re
Closed fd 1940
Unable to establish SSL connection.
Saving cookies to cookies.txt.
Done saving cookies.

as i am a newby, i am not sure how and where to start
and the wget
documentation did not really make sense to me so far.

is there any way to get wget to do that or to use wget
the open site from IE and the setting from there or am
i on the wrong track?

Thanks for your respond!

Kalin






___ 
Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: 
http://mail.yahoo.de


Re: Getting list of files

2005-11-02 Thread Jean-Marc MOLINA
Shahram Bakhtiari wrote:
 I would like to share my experience of my failed attempt on using
 wget to get the list of files.
 I used the following command to get a list of all existing mp3 files,
 without really downloading them:

 wget --http-user=peshvar2000 --http-passwd=peshvar2000 -r -np --spider
 http://www.peshvar.com/music/mp3/amir aram

I don't understand how you can expect wget to get list of files using
these options. -r is for recursive and -np for no parent... I'm also trying
to get a list of files so hopefully I will find a solution and post it.

JM.






Re: Getting list of files

2005-11-02 Thread Jonathan
I think you should be using a tool like linklint (www.linklint.org) not 
wget.


Jonathan



- Original Message - 
From: Jean-Marc MOLINA [EMAIL PROTECTED]

To: wget@sunsite.dk
Sent: Wednesday, November 02, 2005 12:56 PM
Subject: Re: Getting list of files



Shahram Bakhtiari wrote:

I would like to share my experience of my failed attempt on using
wget to get the list of files.
I used the following command to get a list of all existing mp3 files,
without really downloading them:

wget --http-user=peshvar2000 --http-passwd=peshvar2000 -r -np --spider
http://www.peshvar.com/music/mp3/amir aram


I don't understand how you can expect wget to get list of files using
these options. -r is for recursive and -np for no parent... I'm also 
trying

to get a list of files so hopefully I will find a solution and post it.

JM.










wget -N -O doesn't work as expected

2005-11-02 Thread Noah Levitt
Hello,

Running a command like

$ wget -N -O foo 'http://bar.org/baz'

will look for the timestamp on local file baz instead of on foo. Imho,
it ought to check foo since that's the file being replaced.

Noah