cURL / Mailing Lists / curl-library / Single Mail


RE: libcurl and libssh2

From: Xu, Qiang (FXSGSC) <>
Date: Tue, 13 Oct 2009 10:56:28 +0800

> -----Original Message-----
> From:
> [] On Behalf Of
> Daniel Stenberg
> Sent: Tuesday, October 13, 2009 10:33 AM
> To: libcurl development
> Subject: RE: libcurl and libssh2
> On Fri, 9 Oct 2009, Xu, Qiang (FXSGSC) wrote:
> > would guarantee the oncoming file transfer would be FTP over SSH2?
> > That is to say, would call to
> transfer files on
> > finding the url begins with "sftp://", right?
> Let me just mention that SFTP is not FTP over SSH2. SFTP is a
> file transfer protocol over SSH but is not at all anything
> even similar to FTP protocol-wise.

Thanks for the correction.

By the way, can libcurl create some folder or file when uploading via SFTP? Now, our printer creates some temporary folders/files in the process of ftp transfer, in order to protect the tranfer from other threads, i.e. something like a mutex protection.

And after the transfer, can libcurl remove the remote temporary file/folder?

Xu Qiang
List admin:
Received on 2009-10-13