Re: download files with foreign/illegal chars

2005-08-18 Thread Linda Walsh

I assume your default character set is UTF-8 or something that handles
unicode characters?  If not, perhaps that might help?

ed wrote:

Actually with the ftp client I can't even get in to one of the 
subdirectories with a Chinese name.


Does anyone have any idea if there's any way around this?

Thanks!
Ed




openssl server renogiation bug in wget

2005-08-18 Thread Jeremy Shapiro
I believe I've encountered a bug in wget.  When using https, if the
server does a renegotiation handshake wget fails trying to peek for
the application data.  This occurs because wget does not set the
openssl context mode  SSL_MODE_AUTO_RETRY.  When I added the line:
SSL_CTX_set_mode (ssl_ctx, SSL_MODE_AUTO_RETRY);
just after the line that sets PARTIAL_WRITE mode in ssl_init() in
openssl.c everything worked again.

To reproduce, set up an apache server that only does client
authentication for a protected directory.  When wget does the ssl
connect it negotiates the handshake.  However, when it sends the
request for the restricted directory the server will try to
renegotiate with a client authenticated handshake.  Wget will fail
trying to read the application data, and continually retry.

Jeremy


Test a websites availability

2005-08-18 Thread Arthur DiSegna
Hello,
 
I have been looking around and haven't found an answer yet... 
 
Is it possible to use WGET to test a website for being up only. I don't want to 
download any files just test the site for availability? Any ideas? 
 
Psudo code:  wget www.google.com. Is connected? YES/NO. If YES write answer to 
a log. If No write to a log and timestamp it. 
 
Thanks