curl-library
how to get the sym link type ?
From: Vishakha Vaidya <vvaidya_at_adobe.com>
Date: Tue, 21 Dec 2010 16:53:11 +0530
Date: Tue, 21 Dec 2010 16:53:11 +0530
Hi,
Is there a better way to know if the link points to a file or a folder, than trying CWD on it and analyzing the result ? I am doing a CUSTOMREQUEST of LIST -al and I parse the result, then if it starts with "l" I try to do a CWD and make a decision based on the result.
Thanks and regards,
Vishakha
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-12-21