curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: SFTP file upload resume example

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 20 Feb 2018 09:34:50 +0100 (CET)

On Sun, 18 Feb 2018, sergio borghese wrote:

> just wrote a simple piece of code to test the file upload resume using SFTP
> protocol. I'd like to contribute it for the example section of libcurl,
> should you found it useful.

Thanks a lot, I've just pushed it to the git repository! Available online
here:

   https://curl.haxx.se/libcurl/c/sftpuploadresume.html

You'll notice that I edited it slightly:

  - removed FTP-only option (SFTP is not FTP)
  - made it use plain C
  - made it build warning-free with picky compiler options
  - fixed 'make checksrc' complaints

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2018-02-20