|
Hello, When we get an index file for an ftp url (wget ftp://.....) there is a generation error when the time of the file is 00:00: the time column is empty. In the same manner, when the file is old (more than 6 month), the year is normally replacing the time but it is also generated empty (but it may not be a bug). Example: in .listing file: drwxr-xr-x 2 su_php support 512 Sep 21 2004 public drwxr-xr-x 9 su_php support 2560 Aug 24 16:36 public_html -rw-r--r-- 1 su_php support 3110721 Oct 28 11:10 tags drwxr-xr-x 2 su_php support 512 Nov 7 12:25 testidl -rw-r--r-- 1 su_php support 568 Nov 9 00:00 xxx in index.html file: 2004 Sep 21 Directory <a href="" class="moz-txt-link-rfc2396E" href="ftp://xxx.cls.fr:21/public/">"ftp://xxx.cls.fr:21/public/">public/</a> 2005 Aug 24 16:36 Directory <a href="" class="moz-txt-link-rfc2396E" href="ftp://xxx.cls.fr:21/public_html/">"ftp://xxx.cls.fr:21/public_html/">public_html/</a> 2005 Oct 28 11:10 File <a href="" class="moz-txt-link-rfc2396E" href="ftp://xxx.cls.fr:21/tags">"ftp://xxx.cls.fr:21/tags">tags</a> (3,110,721 bytes) 2005 Nov 07 12:25 Directory <a href="" class="moz-txt-link-rfc2396E" href="ftp://xxx.cls.fr:21/testidl/">"ftp://xxx.cls.fr:21/testidl/">testidl/</a> 2005 Nov 09 File <a href="" class="moz-txt-link-rfc2396E" href="ftp://xxx.cls.fr:21/xxx">"ftp://xxx.cls.fr:21/xxx">xxx</a> (568 bytes) True with 1.7 version (the one we used) and 1.10.2 just got and compiled. Output of -d option (tailed): DIRECTORY; perms 755; month: Sep; day: 21; year: 2004 (no tm); DIRECTORY; perms 755; month: Aug; day: 24; time: 16:36:00 (no yr); PLAINFILE; perms 644; month: Oct; day: 28; time: 11:10:00 (no yr); DIRECTORY; perms 755; month: Nov; day: 7; time: 12:25:00 (no yr); PLAINFILE; perms 644; month: Nov; day: 9; time: 00:00:00 (no yr); Wrote HTML-ized index to `index.html' [12812]. Closed fd 3 I don't know if you will consider this as a bug but it's a bit annoying when a script analyses the index.html file produced and relies on the number of columns. Cheers, Ph. Poilbarbe. --
|
