cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: About FTP and SFTP

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 6 May 2009 09:45:37 +0200 (CEST)

On Wed, 6 May 2009, CHEN Xiaolei A wrote:

> (1) I installedf curl-7.19.4 and found some examples like "ftpget.c" and
> "ftpupload.c", both of them work well; but I want to know How i could
> implement FTP manipulation like "delete_file", "delete_dir", "dir_remote"
> and "create_dir"? I checked the Token "CURLOPT", but did not find any clue.

See CURLOPT_QUOTE

> (2) I know that Libcurl needs libssh2 to support SFTP, so I downloaded
> libssh2-1.1 and openssl-0.9.8k(dependency of libssh2-1.1)£¬but installation
> failed due to a compiling error like below:

That's a libssh2 issue that's suitable to discuss and deal with on the
libssh2-devel list.

-- 
  / daniel.haxx.se
Received on 2009-05-06