SSH FTP Directories

David Turner dturner at
Wed May 14 07:42:15 EST 2003

I am making a SSH FTP client implementation, and I have run into a problem 
with directory listings.  Some servers (e.g. Solaris) place * at the end of 
executable filenames, and when a directory listing is done, these are in 
the listing.  As the * character is a valid filename character in UNIX, I 
need a way to determine if its indeed just an executable file, or if its 
actually part of the filename and should not be truncated.  Is there a good 
way to determine what scenario I'm dealing with?


More information about the openssh-unix-dev mailing list