Hrvoje Niksic wrote:
Mauro Tortonesi <[EMAIL PROTECTED]> writes:
Resolving download.skype.com... 198.63.211.251, 212.72.49.140, 195.215.8.138
Connecting to download.skype.com|198.63.211.251|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 7906384 (7,5M) [application/x-debian-package]
Storing resource in file: `skype_1.2.0.18-1_i386.deb.1'
100%[=================================>] 7.906.384 2,38M/s in 3,2s
10:38:58 (2,38 MB/s) - `skype_1.2.0.18-1_i386.deb.1' saved [7906384/7906384]
do you think we should remove those two lines?
IMO yes. "Storing resource in file" might also be shortened to
"saving to: " or something like that.
good. here is the new output format:
[EMAIL PROTECTED] wget]$ ./src/wget
http://download.skype.com/linux/skype_1.2.0.18-1_i386.deb
--11:09:28-- http://download.skype.com/linux/skype_1.2.0.18-1_i386.deb
Resolving download.skype.com... 198.63.211.251, 212.72.49.140, 195.215.8.138
Connecting to download.skype.com|198.63.211.251|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 7906384 (7,5M) [application/x-debian-package]
Saving to: `skype_1.2.0.18-1_i386.deb'
100%[==================================>] 7.906.384 5,02M/s in 1,5s
11:09:30 (5,02 MB/s) - `skype_1.2.0.18-1_i386.deb' saved [7906384/7906384]
notice that in case -N is used, a HEAD request precedes the GET request,
so with the new HTTP code, the output format is something like:
[EMAIL PROTECTED]:~/code/svn/wget/tests$ ./src/wget -N
http://localhost:8080/dummy.html
--11:07:37-- http://localhost:8080/dummy.html
Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:8080... connected.
HTTP request sent, awaiting response... 200 OK
Lunghezza: non specificato [text/plain]
Il file remoto è più recente, lo scarico.
--11:07:37-- http://localhost:8080/dummy.html
Connecting to localhost|127.0.0.1|:8080... connected.
HTTP request sent, awaiting response... 200 OK
Lunghezza: 8 [text/plain]
Saving to: `dummy.html'
100%[=========================>] 8 --.-K/s in 0s
11:07:37 (27,7 KB/s) - `dummy.html' saved [8/8]
it makes sense to me. any objections?
--
Aequam memento rebus in arduis servare mentem...
Mauro Tortonesi http://www.tortonesi.com
University of Ferrara - Dept. of Eng. http://www.ing.unife.it
GNU Wget - HTTP/FTP file retrieval tool http://www.gnu.org/software/wget
Deep Space 6 - IPv6 for Linux http://www.deepspace6.net
Ferrara Linux User Group http://www.ferrara.linux.it