Differentiate between File/Directory or LINK

Using WinInet (CFtpConnection class etc) how do you differentiate between a File/Directory and a link to a file/directory from a UNIX FTP server.  Linked Directories show up as files when I use Wininet.  When I try to go into the directory, I cannot.

Is there a special option to use within the CInternetSession or CFtpConnection class, or does one have the text the CFileFind class return parameters?

Regards
ossentooAsked:
Who is Participating?
 
JYoungmanConnect With a Mentor Commented:
Issue the LIST command (this is normally invoked by the "dir" command in normal clients).   If the first character of the line is "l", then that entry is a symbolic link.


0
 
ossentooAuthor Commented:
Edited text of question
0
 
ossentooAuthor Commented:
Which command is the list command part of?  Is it a member of WinInet?

If not, how do I perform a list command?  
0
 
JYoungmanCommented:
Never used WinInet.   LIST is a command which is part of the FTP protocol.   It's essential but I don't know how WinInet is implemented so I can't tell if you can use it directly.

0
All Courses

From novice to tech pro — start learning today.