cURL / Mailing Lists / curl-library / Single Mail


Re: Question on example: ftpuploadresume.c

From: Daniel Stenberg <>
Date: Thu, 13 Nov 2008 07:44:24 +0100 (CET)

On Wed, 12 Nov 2008, Ambarish Mitra wrote:

Please don't use reply to unrelated mails when starting a new thread. You ruin
the the threading in mail clients and mail archives.

> This example (ftpuploadresume.c) demonstrates the "resume an upload to an
> FTP server". This example is given in the docs/example directory.


> My question is: Is this code specific to Win32? Will it not work for
> Solaris/Linux? I ask this since _snscanf is specific to Win32 only.

The example code doesn't build as-is on Solaris/Linux, but it is trivial to
change it so that it does. It is just an example...

Received on 2008-11-13