On Sat, Jan 17, 2004 at 03:14:12AM +0100, Hrvoje Niksic wrote:
> Thanks.  My copy of Wget parses this file correctly -- you can test
> this by calling ftp_parse_unix_ls(".listing", 0) from a debugger and
> examining the resulting data structure.

I'm a Perl programmer but haven't ventured into the C/gcc/gdb waters
yet so can't be of much help here.


> It's possible that the data gets corrupted later (one such bug was
> fixed prior to the release of 1.9.1).  It is also possible that your
> setup uncovers a listing parser bug I cannot detect.  The debug log
> might be useful, but I cannot be certain that it will help.  If you're
> sending it, don't forget to manually erase sensitive data like
> passwords from the log, which `-d' does not do a good job of.

Cleaned and attached.


> Can you run wget through a memory checker like `valgrind' to see if it
> can find anything wrong?

I've never used valgrind but will try to install it and test wget with
it.


William

-- 
Knowmad Services Inc.
http://www.knowmad.com
DEBUG output created by Wget 1.8.1 on linux-gnu.

Using `/home/xxxxx/web/html/plans.old/.listing' as listing tmp file.
Caching www.xxxxx.org => 204.174.223.87
Created socket 3.
Releasing 0x8074a78 (new refcount 1).
220 cyclonus Microsoft FTP Service (Version 5.0).

--> USER xxxxx


331 Password required for xxxxx.

--> PASS xxxxx


230 User xxxxx logged in.

--> SYST


215 Windows_NT version 5.0

--> PWD


257 "/xxxxx" is current directory.

--> TYPE I


200 Type set to I.
changing working directory
Prepended initial PWD to relative path:
  old: 'html/plans.old'
  new: '/xxxxx/html/plans.old'

--> CWD /xxxxx/html/plans.old


250 CWD command successful.
Master socket fd 4 bound.

--> PORT 192,168,1,2,204,14


200 PORT command successful.

--> LIST


150 Opening BINARY mode data connection for /bin/ls.
Created socket fd 5.
Closing fd 5
Closing fd 4
226 Transfer complete.
12:13:26 URL: ftp://xxxxx:[EMAIL PROTECTED]/html/plans.old/ [708] -> 
"/home/xxxxx/web/html/plans.old/.listing" [1]
PLAINFILE; implicit perms 644; month: Jan; day: 14; time: 12:10:00 (no yr); 
PLAINFILE; implicit perms 644; month: Jan; day: 14; time: 12:10:00 (no yr); 
DIRECTORY; implicit perms 755; month: Jan; day: 14; time: 12:07:00 (no yr); 
DIRECTORY; implicit perms 755; month: Jan; day: 14; time: 12:07:00 (no yr); 
PLAINFILE; implicit perms 644; month: Jan; day: 14; time: 12:10:00 (no yr); 
PLAINFILE; implicit perms 644; month: Jan; day: 14; time: 12:10:00 (no yr); 
PLAINFILE; implicit perms 644; month: Jan; day: 14; time: 12:10:00 (no yr); 
PLAINFILE; implicit perms 644; month: Jan; day: 14; time: 12:10:00 (no yr); 
PLAINFILE; implicit perms 644; month: Jan; day: 14; time: 12:10:00 (no yr); 
PLAINFILE; implicit perms 644; month: Jan; day: 14; time: 12:10:00 (no yr); 
Unrecognized permissions for /home/xxxxx/web/html/plans.old/events.dat~.
Unrecognized permissions for /home/xxxxx/web/html/plans.old/gpl.txt.
Unrecognized permissions for /home/xxxxx/web/html/plans.old/graphics.1.
Unrecognized permissions for /home/xxxxx/web/html/plans.old/icons.1.
Unrecognized permissions for /home/xxxxx/web/html/plans.old/xxxxx.css.unchanged.
Unrecognized permissions for /home/xxxxx/web/html/plans.old/xxxxx.css~.
Unrecognized permissions for /home/xxxxx/web/html/plans.old/new_orgs.dat.
Unrecognized permissions for /home/xxxxx/web/html/plans.old/orgs.dat~.
Unrecognized permissions for /home/xxxxx/web/html/plans.old/plans.cgi.
Unrecognized permissions for /home/xxxxx/web/html/plans.old/tags.
Composing new CWD relative to the initial directory.
  odir = 'html/plans.old'
  f->name = 'graphics'
  newdir = 'html/plans.old/graphics'

Using `/home/xxxxx/web/html/plans.old/graphics/.listing' as listing tmp file.
changing working directory
Prepended initial PWD to relative path:
  old: 'html/plans.old/graphics'
  new: '/xxxxx/html/plans.old/graphics'

--> CWD /xxxxx/html/plans.old/graphics


250 CWD command successful.
Master socket fd 4 bound.

--> PORT 192,168,1,2,204,15


200 PORT command successful.

--> LIST


150 Opening BINARY mode data connection for /bin/ls.
Created socket fd 5.
Closing fd 5
Closing fd 4
226 Transfer complete.
12:13:27 URL: ftp://xxxxx:[EMAIL PROTECTED]/html/plans.old/graphics/ [0] -> 
"/home/xxxxx/web/html/plans.old/graphics/.listing" [1]
Master socket fd 4 bound.

--> PORT 192,168,1,2,204,16


200 PORT command successful.

--> RETR 


500 'RETR ': Invalid number of parameters
No such file `'.

Closing fd 4
Composing new CWD relative to the initial directory.
  odir = 'html/plans.old'
  f->name = 'icons'
  newdir = 'html/plans.old/icons'

Using `/home/xxxxx/web/html/plans.old/icons/.listing' as listing tmp file.
changing working directory
Prepended initial PWD to relative path:
  old: 'html/plans.old/icons'
  new: '/xxxxx/html/plans.old/icons'

--> CWD /xxxxx/html/plans.old/icons


250 CWD command successful.
Master socket fd 4 bound.

--> PORT 192,168,1,2,204,17


200 PORT command successful.

--> LIST


150 Opening BINARY mode data connection for /bin/ls.
Created socket fd 5.
Closing fd 5
Closing fd 4
226 Transfer complete.
12:13:27 URL: ftp://xxxxx:[EMAIL PROTECTED]/html/plans.old/icons/ [0] -> 
"/home/xxxxx/web/html/plans.old/icons/.listing" [1]
Master socket fd 4 bound.

--> PORT 192,168,1,2,204,18


200 PORT command successful.

--> RETR 


500 'RETR ': Invalid number of parameters
No such file `'.

Closing fd 4
Closing fd 3

FINISHED --12:13:27--
Downloaded: 708 bytes in 3 files

Reply via email to