cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: more 3rd party stuff

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Mon, 17 Jan 2005 15:59:38 +0100 (CET)

On Mon, 17 Jan 2005, Alexander Krasnostavsky wrote:

(Attached the current work in progress patch for the 3rd party transfer)

> OK. In what version it will apply?

I want all this 3rd party stuff to be fixed and work in the current 7.12.X
code. My rewrite will then be made to work the same way.

My rewrite may take a considerable time to complete.

> Still you will need the SOURCE_ PORT, PREQUOTE and POSTQUOTE, am I right?

Almost.

It would be SOURCE_URL (which would be a single option instead of separate
HOST, PATH and PORT options), SOURCE_QUOTE (which doesn't exist today),
SOURCE_PREQUOTE, SOURCE_POSTQUOTE. I think it would still make since to have
SOURCE_USERPWD to match the plain USERPWD option.

Regarding PASV_HOST, I think we can instead let the standard CURLOPT_FTPPORT
option control that. If CURLOPT_FTPPORT is set to something non-NULL, it would
make the regular URL (which is the target one) use PORT, otherwise it would
use PASV. What would you say about that?

And a related note: libcurl is IPv6-capable. The 3rd party support is not. It
should rather use EPSV before PASV, and EPRT and LPRT before PORT... Like the
regular FTP transfers do.

-- 
      Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
       Dedicated custom curl help for hire: http://haxx.se/curl.html

Received on 2005-01-17