Hi all,

I'am new to Wget and it's source code.

Is there a reliable way, for a FTP client, to discriminate symlinks to DIR
from symlinks to FILE other than trying to retrieve the target of the link
and parse the FTP server response code  like :
if ERRCODE == 550
  It *might* be a DIR
else
  it's a file

I've googled this and nothing really came up.

Thanks for your help

--
Jean

Reply via email to