curl-users
FTP List files and directories
Date: Mon, 1 Feb 2016 14:23:47 +0000
Hi Team,
I would like to know if there is any better way to list files and directories and differentiate between files and directories.
CURLOPT_DIRLISTONLY will list the name of files and dirs. Is there metadata to know if it is file or directory ?
Parsing the FTP response as such might not be good idea, since serve response differs for different OS.
Thanks,
Sasi-
***************************Legal Disclaimer***************************
"This communication may contain confidential and privileged material for the
sole use of the intended recipient. Any unauthorized review, use or distribution
by others is strictly prohibited. If you have received the message by mistake,
please advise the sender by reply email and delete the message. Thank you."
**********************************************************************
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2016-02-01