curl-library
Re: About some FTP client functions by using libcurl
From: Jeff Pohlmeyer <yetanothergeek_at_gmail.com>
Date: Thu, 19 Aug 2010 02:28:23 -0500
Date: Thu, 19 Aug 2010 02:28:23 -0500
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
Received on 2010-08-19