cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: ftp from 1 ip to another ip.

From: kuriakose <kuriakose_at_huawei.com>
Date: Fri, 18 Aug 2006 11:20:46 +0530

Thank you.
One more thing plz.. For third party transfer should an ftp server be
running in both source and target machine ?

-----Original Message-----
From: curl-library-bounces_at_cool.haxx.se
[mailto:curl-library-bounces_at_cool.haxx.se] On Behalf Of Alexander Lazic
Sent: Friday, August 18, 2006 11:03 AM
To: 'libcurl development'
Subject: Re: ftp from 1 ip to another ip.

On Fre 18.08.2006 10:27, kuriakose wrote:
>How ?
>Is it there in the documentation..

Yep.

http://curl.haxx.se/libcurl/c/curl_easy_setopt.html

---
.
.
CURLOPT_SOURCE_URL 
When set, it enables a FTP third party transfer, using the set URL as
source, while CURLOPT_URL is the target. 
CURLOPT_SOURCE_USERPWD 
Set "username:password" to use for the source connection when doing FTP
third party transfers.
.
.
---
regards
Alex
Received on 2006-08-18