cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: FTP third party transfer (proxy) support.

From: Alexander Krasnostavsky <ALEXANDERKR_at_Amdocs.com>
Date: Mon, 24 May 2004 16:46:18 +0300

Hi Daniel,

The implementation of FTP third party transfer was finished.
I worked on curl-7.12.0-20040519.
The changed files in the attached tar file:
lib/urldata.h
lib/url.c
lib/transfer.c
lib/ftp.c
lib/sendf.h
lib/sendf.c
lib/http.c
include/curl/curl.h

An example: ftpproxy.c

To operate the example, both FTP daemons (ftpd) on remote hosts should
support third party transfer. For example, on HP ftpd should be started
with option "-P" (refer to the manual).

New supported options:
CURLOPT_FTP_SOURCE_HOST
CURLOPT_FTP_SOURCE_PORT
CURLOPT_FTP_SOURCE_USERPWD
CURLOPT_FTP_SOURCE_PATH
CURLOPT_SOURCE_PREQUOTE
CURLOPT_SOURCE_POSTQUOTE

The definition of source host indicates third party transfer. The
appropriate regular options used for a target host. All the changes
remarked with my name to simplify differences searching. The new code is
backward compatible - there is no influence on the regular flow.

Thanks,
Alexander

The information contained in this message is proprietary of Amdocs,
protected from disclosure, and may be privileged.
The information is intended to be conveyed only to the designated recipient(s)
of the message. If the reader of this message is not the intended recipient,
you are hereby notified that any dissemination, use, distribution or copying of
this communication is strictly prohibited and may be unlawful.
If you have received this communication in error, please notify us immediately
by replying to the message and deleting it from your computer.
Thank you.

Received on 2004-05-24