On Thu, Aug 19, 2010 at 1:50 AM, HU Chengzhe wrote:

> 1) getRootPath(), this function should return ftp server root path by
> absolute path format.

See Qiang Xu's post, but note that CURLOPT_VERBOSE is always your friend.


> 2)getNodeType(), this function should return a node type, it may be file or
> directory.

This is tricky because it could also  be a symbolic link.
Have a look here:
  http://cr.yp.to/ftpparse.html

 - Jeff
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to