[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] wget ignores --mirror option on openWrt's Luci interface
From: |
Tim Ruehsen |
Subject: |
Re: [Bug-wget] wget ignores --mirror option on openWrt's Luci interface |
Date: |
Fri, 12 Apr 2013 10:21:20 +0200 |
User-agent: |
KMail/1.13.7 (Linux/3.2.0-4-amd64; KDE/4.8.4; x86_64; ; ) |
Hi Olivier,
I think I got it (I didn't test -m, but it should work like -r -N).
Your first command is as you already did it:
wget --save-cookies cookies.txt --keep-session-cookies --post-data
'username=root&password=' http://172.16.1.1/cgi-bin/luci/
This saves the 'index.html' generated after a successful login. It is the page
that your browser shows.
Wget also puts the login cookie into cookies.txt.
For a recursive download/mirroring Wget has to start from the above
index.html:
wget -r --load-cookies cookies.txt --base=http://172.16.1.1/cgi-bin/luci/ --
force-html -i index.html
That's it. You now should have a directory structure 172.16.1.1/ with all the
files in it.
Regards, Tim
- Re: [Bug-wget] wget ignores --mirror option on openWrt's Luci interface, (continued)
- Re: [Bug-wget] wget ignores --mirror option on openWrt's Luci interface, Olivier Diotte, 2013/04/08
- Re: [Bug-wget] wget ignores --mirror option on openWrt's Luci interface, Tim Ruehsen, 2013/04/09
- Re: [Bug-wget] wget ignores --mirror option on openWrt's Luci interface, Olivier Diotte, 2013/04/09
- Re: [Bug-wget] wget ignores --mirror option on openWrt's Luci interface, Tim Rühsen, 2013/04/09
- Re: [Bug-wget] wget ignores --mirror option on openWrt's Luci interface, Olivier Diotte, 2013/04/10
- Re: [Bug-wget] wget ignores --mirror option on openWrt's Luci interface, Olivier Diotte, 2013/04/10
- Re: [Bug-wget] wget ignores --mirror option on openWrt's Luci interface, Tim Ruehsen, 2013/04/11
- Re: [Bug-wget] wget ignores --mirror option on openWrt's Luci interface, Tim Ruehsen, 2013/04/11
- Re: [Bug-wget] wget ignores --mirror option on openWrt's Luci interface, Olivier Diotte, 2013/04/11
- Re: [Bug-wget] wget ignores --mirror option on openWrt's Luci interface, Tim Rühsen, 2013/04/11
- Re: [Bug-wget] wget ignores --mirror option on openWrt's Luci interface,
Tim Ruehsen <=
- Re: [Bug-wget] wget ignores --mirror option on openWrt's Luci interface, Olivier Diotte, 2013/04/12