Hi, I am trying to connect to an FTPES server using RealBasic and FTPSuite.
The server is filezilla running on the localhost and setup with SSL and a
certificate created from within filezilla.
Options "Force explicit SSL/TLS" and "Force PROT P to encrypt data channel
in SSL/TLS mode" are enabled.
When connecting from filezilla client, everything works well, but when I try
to do it from my application things come to a halt.
I tried using the FTPSuite Test Rig (FTP Suite Test Rig.rbp) to connect to
the filezilla server, and had similar results to the ones in my application:
Session:
Start Put File Sequence
Session: 220-FileZilla Server version 0.9.24 beta
Session: 220-written by Tim Kosse (Tim dot Kosse at gmx dot de)
Session: 220 Please visit http://sourceforge.net/projects/filezilla/
Session: AUTH TLS
"Sending AUTH"
Session: 234 Using authentication type TLS
Session: PBSZ 0
Sending PBSZ
Session: 200 PBSZ=0
Session: PROT P
Sending PROT
Session: 200 Protection level set to P
Session: USER standarduser
Send UserID
Session: 331 Password required for standarduser
Session: PASS
Send Password
Session: 230 Logged on
Session: CWD /upload
Change directory to: /upload
Session: 250 CWD successful. "/upload" is current directory.
Session: TYPE I
Change transfer type.
Session: 200 Type set to I
Session: 200 NOOP command successful.
Session: PASV
Passive Mode
Session: 227 Entering Passive Mode (172,16,28,121,13,172)
Session: STOR testCropSave.jpg
Send file testCropSave.jpg
Session: 150 Connection accepted
After a few seconds of nothing happening, a timeout error ocurs.
The server shows this in the log:
(000191) 31/03/2008 18:24:21 p.m. - (not logged in) (172.16.28.121)>
Connected, sending welcome message...
(000191) 31/03/2008 18:24:21 p.m. - (not logged in) (172.16.28.121)>
220-FileZilla Server version 0.9.24 beta
(000191) 31/03/2008 18:24:21 p.m. - (not logged in) (172.16.28.121)>
220-written by Tim Kosse (Tim dot Kosse at gmx dot de)
(000191) 31/03/2008 18:24:21 p.m. - (not logged in) (172.16.28.121)> 220
Please visit http://sourceforge.net/projects/filezilla/
(000191) 31/03/2008 18:24:21 p.m. - (not logged in) (172.16.28.121)> AUTH
TLS
(000191) 31/03/2008 18:24:21 p.m. - (not logged in) (172.16.28.121)> 234
Using authentication type TLS
(000191) 31/03/2008 18:24:21 p.m. - (not logged in) (172.16.28.121)> SSL
connection established
(000191) 31/03/2008 18:24:21 p.m. - (not logged in) (172.16.28.121)> PBSZ 0
(000191) 31/03/2008 18:24:21 p.m. - (not logged in) (172.16.28.121)> 200
PBSZ=0
(000191) 31/03/2008 18:24:21 p.m. - (not logged in) (172.16.28.121)> PROT P
(000191) 31/03/2008 18:24:21 p.m. - (not logged in) (172.16.28.121)> 200
Protection level set to P
(000191) 31/03/2008 18:24:21 p.m. - (not logged in) (172.16.28.121)> USER
standarduser
(000191) 31/03/2008 18:24:21 p.m. - (not logged in) (172.16.28.121)> 331
Password required for standarduser
(000191) 31/03/2008 18:24:22 p.m. - (not logged in) (172.16.28.121)> PASS
********
(000191) 31/03/2008 18:24:22 p.m. - standarduser (172.16.28.121)> 230 Logged
on
(000191) 31/03/2008 18:24:22 p.m. - standarduser (172.16.28.121)> CWD
/upload
(000191) 31/03/2008 18:24:22 p.m. - standarduser (172.16.28.121)> 250 CWD
successful. "/upload" is current directory.
(000191) 31/03/2008 18:24:22 p.m. - standarduser (172.16.28.121)> TYPE I
(000191) 31/03/2008 18:24:22 p.m. - standarduser (172.16.28.121)> 200 Type
set to I
(000191) 31/03/2008 18:24:22 p.m. - standarduser (172.16.28.121)> PASV
(000191) 31/03/2008 18:24:22 p.m. - standarduser (172.16.28.121)> 227
Entering Passive Mode (172,16,28,121,13,172)
(000191) 31/03/2008 18:24:22 p.m. - standarduser (172.16.28.121)> STOR
testCropSave.jpg
(000191) 31/03/2008 18:24:22 p.m. - standarduser (172.16.28.121)> 150
Connection accepted
(000191) 31/03/2008 18:24:22 p.m. - standarduser (172.16.28.121)> Data
connection SSL warning: SSL_accept: error in SSLv2/v3 read client hello A
(000191) 31/03/2008 18:24:22 p.m. - standarduser (172.16.28.121)> Data
connection SSL warning: SSL_accept: error in SSLv2/v3 read client hello A
(000191) 31/03/2008 18:24:22 p.m. - standarduser (172.16.28.121)> Data
connection SSL warning: SSL_accept: error in SSLv2/v3 read client hello A
I am considering buying FTPSuite for my transfer needs, but I can't get it
to work (It is not the registered version, so it shows the nag message,
could this have anything to do with the problem?)
Please, if someone has any ideas I would appreciate them.
Thankyou. Daniel Gollas
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>
|