Hello,
I begin to work with wget on HP-UX 10.20 with a package ditributed by
HP.
It works very well with HTTP and FTP anonymous.
But when I want to download files from FTP with authentication, I have
some problems :
It's OK when I specify a file but it fails when I want to retrieve a
directory.
It will be nice if someone can explain to me how I can solve this
problem.
Here are some log informations depending on the URL :
1) wget -o test.log -r ftp://oracle:[EMAIL PROTECTED]/param
--12:02:55-- ftp://oracle:[EMAIL PROTECTED]:21/param
=> `recife.neuilly.ratp/param'
==> CWD not required.
==> PORT ... done. ==> RETR param ...
No such file `param'.
==> wget should now that param is a directory (I can see it in the file
.listing)
2) wget -o test.log -r ftp://oracle:[EMAIL PROTECTED]/param/
--12:03:08-- ftp://oracle:[EMAIL PROTECTED]:21/param/
=> `recife.neuilly.ratp/param/index.html'
==> CWD not required.
==> PORT ... done. ==> RETR ...
No such file `'.
==> index.html does not exist in this directory and I see all the files in
.listing
3) wget -o test.log -r ftp://oracle:[EMAIL PROTECTED]/param/*.sh
No matches on pattern `*.sh'.
==> I don't understand why !
4) wget -o test.log -r ftp://oracle:[EMAIL PROTECTED]/param/m.sh
--12:03:19-- ftp://oracle:[EMAIL PROTECTED]:21/param/m.sh
=> `recife.neuilly.ratp/param/m.sh'
==> CWD not required.
==> PORT ... done. ==> RETR m.sh ... done.
Length: 4,354 (unauthoritative)
0K -> .... [100%]
12:03:19 (73.31 KB/s) - `recife.neuilly.ratp/param/m.sh' saved [4354]
==> A least, something is working
Tank you for your answer.
Cordialement
Alain BORGO
_________________________________________
Tout le monde savait que c'était impossible.
Il est venu un imbécile qui ne le savait pas et qui l'a fait.
(Marcel Pagnol)
_________________________________________
[EMAIL PROTECTED]
Téléphone : 01 43 03 99 28
Télécopie : 01 43 03 91 72