curl-users
Re: Big problems with EPSV
Date: Wed, 26 May 2004 20:30:25 +0200
le 26/05/04 20:08, Daniel Stenberg à daniel-curl_at_haxx.se a écrit :
> On Wed, 26 May 2004, Eric VERGNAUD wrote:
>
>> Does this mean the ftp client MUST issue an EPRT command after receiving a
>> successful EPSV reply ?
>
> No, EPRT is the enhanced version of PORT, as EPSV improves PASV. EPRT and EPSV
> are mutually exclusive, only one of them should be used.
>
>> In that case, could it be that the EPRT command should be sent BEFORE
>> attempting to establish the secondary connection on the port returned by
>> EPSV, so that the server indeed opens that port ?
>
> EPRT asks the server to connect to the client on the given port, why would
> that improve or even change what EPSV responds?
Just trying to figure. The RFC wrongly suggests that both commands should be
used.
-------------------------------
Eric VERGNAUD - JLynx Software
Cutting-edge technologies and
services for software companies
web: http://www.jlynx.com
-------------------------------
Received on 2004-05-26