data array in directorylistingparser : just for debug ?

Moderator: Project members

Post Reply
Message
Author
lechatnoir
503 Bad sequence of commands
Posts: 20
Joined: 2005-10-03 13:25

data array in directorylistingparser : just for debug ?

#1 Post by lechatnoir » 2005-10-27 12:53

Hi botg,

In your code (Directorylistingparser.cpp), there is a big array full of strings that ftp server send back (array data with these kind of string :
"-rw-r--r-- 1 root other 531 Jan 29 03:26 01-unix-std file"

This array is between #ifdef LISTDEBUG /#endif.

What does it mean ?

It was just for debug and build your parser ?
Thanks !
LeChatNoir

User avatar
botg
Site Admin
Posts: 35558
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

#2 Post by botg » 2005-10-28 06:47

Yes, it's for debugging. This way I can test the directory listing parser and all the formats it supports.

Post Reply