cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: ftp upload problem

From: Geoffrey E. Quelch <gequelch_at_frii.com>
Date: Fri, 1 Apr 2005 17:07:58 +0000

On Friday 01 April 2005 7:02 am, Daniel Stenberg wrote:
>
> Ok. And it is a 'FILE *' handle?
>
I'm using C++ and it's an ifstream.

> > I am obviously doing something wrong which I could use some suggestion on
> > what to look at. I copied the approach of example13 so I would have some
> > idea of how it ought to work.
>
> I didn't find any example13 in the curlpp package, but my general advice on
> how to persue goes like this:
>
> * try the curl command line tool, if that works you know the problem is
> in how your app uses libcurl
>
Not sure where the command line tool is, I have a binary curl install.

> * compare/test with an example code in plain C that does the same job.
> like the ftpupload.c example. Found online here:
> http://curl.haxx.se/lxr/source/docs/examples/ftpupload.c

Thanks, I will. I have determined that on my system, the example 13 code in
curlpp doesn't work right.

Thanks,
GEQ

-- 
Geoff Quelch
Email: gequelch_at_frii.net
Received on 2005-04-01