cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: iis = dummy ftp ? Was: strange behaviour, data connection mix!?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 23 Aug 2006 23:16:27 +0200 (CEST)

On Wed, 23 Aug 2006, Armel Asselin wrote:

> as you can see, the FTP server proposes to two parallel connections to get
> their data from the SAME port ! in this situation I'm pretty sure that the
> connection will get bound randomly, hence the swap in some situations!
>
> so so, what to do? when using passive mode, should we find a way to enforce
> connection of data socket before letting a new EPSV/PASV?

Sounds like a very "clever" server implementation! ;-) Yes, I guess you'll
need to delay your subsequent transfers until the connect has been performed
and I guess you only know that for sure with libcurl when it has started to
transfer data (or failed).

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2006-08-23