Re: wget 1.8 Compile Issue (another data point)
Mike Castle <[EMAIL PROTECTED]> writes: > I'm not on the list, just following via web archive. > > In response to: > http://www.mail-archive.com/wget@sunsite.dk/msg02211.html > > On my _homegrown_ Linux system, I'm also having an issue. > > I have a libmd5, but no md5.h. I believe this problem has been fixed in 1.8.1. Wget now uses a stricter test for detecting Solaris's libmd5.
Re: A small bug
Peng GUAN <[EMAIL PROTECTED]> writes: > Maybe a bug in file "fnmatch.c", line 54: > > ( n==string || (flags & FNM_PATHNAME) && n[-1] == '/')) > > the "n[-1]" should be change to "*(n-1)". In C n[-1] is exactly the same as *(n-1).
Re: A small bug
On 14 Dec 2001 at 14:49, Peng GUAN wrote: > Maybe a bug in file "fnmatch.c", line 54: > > ( n==string || (flags & FNM_PATHNAME) && n[-1] == '/')) > > the "n[-1]" should be change to "*(n-1)". I like the easy ones. Those are equivalent in C. As to which of the too looks the nicest is a matter of aesthetics and also depends on the style of the surronding source code. At least both of the above look nicer than "(-1)[n]" which is also equivalent to the above, but its usage is reserved for ubfuscated C coding competitions!
Re: Wget 1.8.1-pre1 now available
Hrvoje Niksic <[EMAIL PROTECTED]> writes: > Get it from: > > ftp://gnjilux.srk.fer.hr/pub/unix/util/wget/.betas/wget-1.8.1-pre1.tar.gz Something is wrong with that network. The prerelease is now also available at: http://muc.arsdigita.com:2005/wget-1.8.1-pre1.tar.gz
renaming downloaded file?
Hello, people at wget-list! Excuse me for a novice question, but what is the preferred way to specify a name for a single downloaded file during download? Something like this: wget -O test.zip http://xxx.com/123.zip ? But as far as I understand, using -O option automatically sets the number of tries to 1 and disables timestamping. Maybe it is possible _not_ to reset number of retries if there is only one file to download? Or there are most convenient ways to rename a file during downloading? Thank you! -- Best regards, Valery Kondakoff mailto:[EMAIL PROTECTED] http://www.nbk.orc.ru -- Moscow Rock-Club "NÅ âÅÊ ëÏÐÙÔÏÍ" Homepage http://www.nbk.orc.ru/mtb -- MTB riding in Moscow
wget 1.6 does not download ftp-files
command: wget -o log -S -x --proxy=off ftp://ftp.nai.com/pub/antivirus/datfiles/4.x/ shows me the following log but does not download ANY file ! What's wrong with it? greetings Volker please send a copy to [EMAIL PROTECTED] --16:48:00-- ftp://ftp.nai.com:21/pub/antivirus/datfiles/4.x/ => `ftp.nai.com/pub/antivirus/datfiles/4.x/.listing' Connecting to ftp.nai.com:21... connected! Logging in as anonymous ... 220 sncwebftp3 Microsoft FTP Service (Version 5.0). --> USER anonymous 331 Anonymous access allowed, send identity (e-mail name) as password. --> PASS Turtle Power! 230-You are connected to ftp.nai.com. 230-Your use is subject to the terms and conditions in Legal.TXT 230-and Usage.TXT files 230-*Mirror sites at FTPEUR.NAI.COM and FTPDE.NAI.COM* 230 Anonymous user logged in. --> TYPE I 200 Type set to I. --> CWD pub/antivirus/datfiles/4.x 250 CWD command successful. --> PORT 217,80,164,224,79,254 200 PORT command successful. --> LIST 150 Opening BINARY mode data connection for /bin/ls. 0K -> . 226 Transfer complete. 09-19-01 08:14PM11711 41614162.upd 09-25-01 08:15PM 110187 41624163.upd 10-02-01 08:15PM 124292 41634164.upd 10-09-01 08:15PM96359 41644165.upd 10-16-01 08:15PM 123307 41654166.upd 10-23-01 08:15PM99364 41664167.upd 10-30-01 08:15PM 112079 41674168.upd 11-06-01 08:15PM 116050 41684169.upd 11-13-01 08:15PM 122901 41694170.upd 11-14-01 08:15PM11736 41704171.upd 11-20-01 08:15PM 115646 41714172.upd 11-27-01 08:16PM 134670 41724173.upd 12-03-01 08:16PM 137115 41734174.upd 12-04-01 08:16PM43004 41744175.upd 12-11-01 08:16PM 107689 41754176.upd 12-11-01 08:16PM 2211840 dat-4176.tar 12-11-01 08:16PM 1905483 dat-4176.zip 12-11-01 08:16PM 1308 delta.ini 07-02-01 10:09AM extra 04-05-01 01:10AM30694 P2104123.z 05-15-01 02:04PM 65 Palm.Ini 12-11-01 08:16PM40713 readme.txt 12-11-01 05:40PM 4127310 sdat4176.exe 12-11-01 08:16PM 747 update.ini 16:48:02 (71.92 KB/s) - `ftp.nai.com/pub/antivirus/datfiles/4.x/.listing' saved [1252] Removed `ftp.nai.com/pub/antivirus/datfiles/4.x/.listing'.
Can not build wget-1.8 under SunOS-4.1.4
Greetings, I have successfully built wget-1.8 under linux-2.4.xx (at home) and under SunOS-5.5, but under SunOS-4.1.4, I get a compile-time error: gcc -I. -I../../../../src/wget-1.8/src-DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/u/shelto n/new/SunOS-4.1/etc/wgetrc\" -DLOCALEDIR=\"/u/shelton/new/SunOS-4.1/share/locale\" -O 2 -Wall -Wno-implicit -c ../../../../src/wget-1.8/src/retr.c ../../../../src/wget-1.8/src/retr.c: In function `sleep_between_retrievals': ../../../../src/wget-1.8/src/retr.c:682: `RAND_MAX' undeclared (first use in this fun ction) ../../../../src/wget-1.8/src/retr.c:682: (Each undeclared identifier is reported only once ../../../../src/wget-1.8/src/retr.c:682: for each function it appears in.) make[1]: *** [retr.o] Error 1 make[1]: Leaving directory `/tmp_mnt/u/shelton/new/build/SunOS-4.1/wget-1.8/src' make: *** [src] Error 2 Here is the configure line I used: ../../../src/wget-1.8/configure --prefix=/u/shelton/new/SunOS-4.1 --disable-nls Please let me know if there is more information you need. - vin shelton -- In a minute there is time For decisions and revisions which a minute will reverse. T.S. Eliot [URL: http://www.cs.amherst.edu/~ccm/prufrock.html]
[±¤°í]¼ºÀθ¸ º¸¼Å¿ä
Title: À̱¤°í¸ÞÀÏÀº´õÀÌ»ó¹ß¼ÛÇÏÁö¾Ê½À´Ï´Ù ÀÌ ±¤°í ¸ÞÀÏÀº È«º¸¿ëÀ¸·Î 1ȸ ÀÌ»ó ¹ß¼ÛÇÏÁö ¾Ê½À´Ï´Ù ±¤°í ¸ÞÀÏÀÌ ºÒÄèÇϼ̴ٸé Á¤ÁßÈ÷ »ç°úµå¸³´Ï´Ù ¾È³çÇϼ¼¿ä±ÍÇÏÀÇ À̸ÞÀÏÀº °ø°³ À¥ »çÀÌÆ®¿¡¼ ¼öÁýÇÏ¿´À¸¸ç, °ø°³µÈ À̸ÞÀÏ ¿Ü ¾î¶°ÇÑ °³ÀÎ Á¤º¸µµ °¡Áö°í ÀÖÁö ¾Ê½À´Ï´Ù Àá±ñ! ¼ºÀλçÀÌÆ®¿¡ °ÅºÎ°¨ÀÌ ¾ø´ÂºÐ¸¸ Ŭ¸¯ÇϽñ⠹ٶø´Ï´Ù
Re: wget 1.6 does not download ftp-files
Volker Engels <[EMAIL PROTECTED]> writes: > command: > > wget -o log -S -x --proxy=off ftp://ftp.nai.com/pub/antivirus/datfiles/4.x/ > > shows me the following log but does not download ANY file ! What's > wrong with it? Which version of Wget are you using? Recent releases have been taught to recognize non-Unix directory listings, so if you're using an older one, it might not work.
Re: Can not build wget-1.8 under SunOS-4.1.4
Vin Shelton <[EMAIL PROTECTED]> writes: > I have successfully built wget-1.8 under linux-2.4.xx (at home) and > under SunOS-5.5, but under SunOS-4.1.4, I get a compile-time error: > > ../../../../src/wget-1.8/src/retr.c:682: `RAND_MAX' undeclared (first use in this fun > ction) [...] > Please let me know if there is more information you need. Thanks for the report. What I need is the value of RAND_MAX on SunOS, or the name of the include file it's defined in. Is there a good fallback value of RAND_MAX for systems that don't bother to define it?