cURL / Mailing Lists / curl-users / Single Mail

curl-users

FTPS connection

From: Rajesh Khatri <rajeshkhatri_at_yahoo.com>
Date: Thu, 7 Sep 2006 23:11:07 -0700 (PDT)

Hi,

I have installed curl and am trying to upload file to
a ftps server. but i am not able to upload. please see
the command below :--

-------------------------------------------------
D:\gates\curl-7.15.4-win32-ssl-sspi\curl-7.15.4>curl
-T manual.txt -u infgacoi:aaa -SSLv2
ftps://ftps01.oracle.com:21
-------------------------------------------------

----------------- Output of the above coomand-----
* About to connect() to ftps01.oracle.com port 21
* Trying 141.146.156.11... connected
* Connected to ftps01.oracle.com (141.146.156.11) port
21
* successfully set certificate verify locations:
* CAfile:
D:\gates\curl-7.15.4-win32-ssl-sspi\curl-7.15.4\curl-ca-bundle.crt
  CApath: none
* SSLv2, Client hello (1):
-------------------------

I have tried using SSLv3 but it gives the below error.

Can you please explain whats the error.Also, i am able
to upload file using Core FTP Tool. Below is the
output when the tool connects. this may help you to
figure out what commands options i need to pass while
running curl.

While connecting thru Core FTP i have the following
options selected

Port : 21
Auth SSL - is selected
SSL Listings is selected
SSL Transfers - is selcted
Open SSL - is selected
PASV - is selected

-------------------------------------------------

Welcome to Core FTP, release ver 1.3c, build 1447.4
(U) -- 2003-2006
WinSock 2.0
Mem -- 261,104 KB, Virt -- 2,097,024 KB
Started on Friday September 08, 2006 at 15:02:PM
Resolving ftps01.oracle.com...
Connect socket #572 to 141.146.156.11, port 21...
220 Welcome to Oracle OnDemand Secure FTP service
AUTH SSL
234 Proceed with negotiation.
TLSv1, cipher TLSv1/SSLv3 (DES-CBC3-SHA) - 168 bit
USER infgacoi
331 Please specify the password.
PASS **********
230 Login successful.
SYST
550 Permission denied.
Keep alive off...
PWD
257 "/"
PBSZ 0
550 Permission denied.
PASV
227 Entering Passive Mode (141,146,154,67,196,104)
LIST
Connect socket #904 to 141.146.154.67, port 50280...
TLSv1, cipher TLSv1/SSLv3 (DES-CBC3-SHA) - 168 bit
150 Here comes the directory listing.
226 Directory send OK.
Transferred 254 bytes in 0.008 seconds
---------------------------------------------------

Please help me out.

regards,
Rajesh Khatri

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Received on 2006-09-08