I'm working on an embedded system that will communicate with a Samba server, 
and I'm wondering if there's a way to do a simple directory listing.  I used 
Wireshark to see what my Win2K computer does, and I see it's using FIND_FIRST2. 
 This is fine, probably acceptable, but Samba returns a lot of information I do 
not need, such as file creation/access times.  I just need filenames, and will 
only be reading from Samba.  It ends up being more data to store in limited RAM 
and parse.  

Can NT_CREATE_ANDX be used to obtain a directory listing?  The CIFS Technical 
Reference states "This command is used to create or open a file or directory".  
I thought I could specify a directory then use READ_ANDX, but I'm not surprised 
that didn't do what I had hoped.  

_________________________________________________________________
Be the filmmaker you always wanted to be—learn how to burn a DVD with Windows®.
http://clk.atdmt.com/MRT/go/108588797/direct/01/--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to