cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: My first post for verification

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Wed, 26 Aug 2015 22:15:48 +0200

On Wed, Aug 26, 2015 at 06:12:37AM -0500, Ken Alverson wrote:
> I am currently trying to integrate curl-library into a small program that will
> ftp a small program to an iSeries system, run it, then ftp the file results
> back to the same local PC program for display. My choice of using curl library
> for this was to obtain the SSL capability for secure ftp as some of our
> customer only allow secure ftp connections; i.e. banks.
>
> I have the libraries all built and statically linked into my main program and I
> am able to securely connect and send remote commands ok via ftp. However, I am
> having trouble getting the upload/download part to work. Specifically, the
> callback does not appear to be called. The standalone example I ran to upload
> a text string worked great. The file appeared in my home directly just fine
> and I could see that the callback was getting control. The code in my real
> program is almost the same with the exception of a few commands sent first and
> the fact that I am trying to re-use the same connection. It is however written
> using c++ logic instead of c, but I would think that wouldn’t matter. I could
> post details about the curl code if there is anyone out there willing to help
> me out. Thanks in advance

Without code to look at, about all anyone can say is something like "you're
probably doing something wrong".

>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-08-27