cURL / Mailing Lists / curl-library / Single Mail

curl-library

FTP with multiple logins

From: Denis Lepine <denis.lepine_at_corobor.com>
Date: Mon, 7 Jul 2003 17:42:15 +0200

Hello

I want to use CURL in C/C++ in order to connect to a computer through a FTP
firewall, as described in this example:

ftp ftp.server.com
Connected to ftp.server.com.
220-bk PROXY FTP server (Version: Tue Oct 30 00:50:11 EST 2001) 220-FIREWALL
FTP PROXY 220 please authenticate to FIREWALL Name (ftp.server.com:root):
fwuser 331 Password required for fwuser.
Password:
230-User fwuser authenticated
230 Login to server with "user" command.
ftp> user anonymous
331 Guest login ok, send your complete e-mail address as password.
Password:
230 User ftp logged in. Access restrictions apply.
ftp> dir
200 PORT command successful.

Any idea about how to define the URL to do multiple logins, or to add a
login with "curl_easy_setopt" ?

Thank you

denis

-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
Received on 2003-07-08