On Sun, 10 Jul 2005, marianciuc wrote:
> Buna Ziua listashi,
>
> Incerc fara rezultat sa download-ez cu wget niste documente *.pdf si
> *.doc de pe
> http://www.onestopenglish.com/FreeResources/Coursesupport/ .
> Pentru a ajunge aici e nevoie de cont (free) si deci autentificare pe
> baza acestuia.
> Intrucit este vorba de autentificare, am fost sfatuit pe lista sa
> folosesc optiunea
> "--load-cookies", a wget-ului
> Asa am si facut, sintaxa pentru download (numai cu wget lucrez) ce am
> folosit-o este:
> wget --recursive --no-parent --level=2 -nH --load-cookies \
> /home/marianciuc/.mozilla/default/jvq2g5zq.slt/cookies.txt
> http://www.onestopenglish.com/FreeResources/Coursesupport \
> -A "*.pdf" http://www.onestopenglish.com/FreeResources/Coursesupport/
>
> In consola apare:
>
> 100%[==================================================================================================>]
> 9,667 2.79K/s ETA 00:00
>
> 19:27:30(2.79 KB/s) -
> `profile/free.asp?denied=true&pageref=%2FFreeResources%2FCoursesupport%2Findex.asp'
> salvat [96679667]
>
> Återgere
> profile/free.asp?denied=true&pageref=%2FFreeResources%2FCoursesupport%2Findex.asp
> pentru cÄ oricum ar fi trebuit refuzat.
>
>
> Si nu aduce nimic !! :-(( DAR , ce am observat:
>
Cind postezi mesaje de eroare posteaza-le intregi.
In alta orfine de idei ai incercat sa-i dai login si pass la wget
--http-user=user
--http-passwd=password
Specify the username user and password password on an HTTP
server. Accord-
ing to the type of the challenge, Wget will encode them using
either the
"basic" (insecure) or the "digest" authentication scheme.
Another way to specify username and password is in the URL
itself. Either
method reveals your password to anyone who bothers to run "ps".
To prevent
the passwords from being seen, store them in .wgetrc or .netrc,
and make
sure to protect those files from other users with "chmod". If
the pass-
words are really important, do not leave them lying in those
files
either---edit the files and delete them after Wget has started
the down-
load.
> - in fisierul de cookies al Mozilla NU APARE cookie-ul pentru
> www.onestopenglish.com !!!?????
> - ma duc la managerul de cookies din Mozilla-1.7.8 , le accept pe toate
> (ca politica), si observ ca este SI
> pentru onestopenglish cookie, DAR daca toate cookies-urile au termen de
> expirare in viitor, al lui
> onestopenglish are "At end of session" !!???
>
Pai de obicei unde bagi parola nu e recomanadat sa tina prea mult
cookiurile.
> Ce ma intriga este ca in managerul de cookies-uri apare, dar in fisierul
> lui Mozilla NU !!
>
Poate il tine in memorie ;-)
--
?
---
Detalii despre listele noastre de mail: http://www.lug.ro/