cURL / Mailing Lists / curl-library / Single Mail


Re: curl library's uninitialization is got hang

From: Daniel Stenberg <>
Date: Mon, 1 Sep 2014 09:10:30 +0200 (CEST)

On Mon, 1 Sep 2014, shine wrote:

>> *both* EPSV and PASV are sent. And both get a fine response back. How come
>> it sends two? That's not normal libcurl behavior.

> So now what is the problem i already sent you code by which i am trying to
> upload files to FTP.

Can you convert that into a complete stand-alone example we can try to
reproduce this problem with? I can't see what would make libcurl act like

> Can you tell me how i can proceed or some debug method to find out what is
> exact cause for this?

Set a break-point in libcurl where it receives the EPSV response
(lib/ftp.c:ftp_state_pasv_resp) and see what it does next and why!

List admin:
Received on 2014-09-01