curl-users
Re: Big problems with EPSV
From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Wed, 26 May 2004 20:08:42 +0200 (CEST)
Date: Wed, 26 May 2004 20:08:42 +0200 (CEST)
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?
-- Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se Dedicated custom curl help for hire: http://haxx.se/curl.htmlReceived on 2004-05-26