EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Implicit FTP over TLS

Also by EldoS: Rethync
The cross-platform framework that simplifies synchronizing data between mobile and desktop applications and servers and cloud storages
#29736
Posted: 06/09/2014 11:10:44
by Eugene Mayevski (EldoS Corp.)

This could happen if you clicked Connect, it failed to connect, and then you clicked Connect again without clicking Disconnect. For every call to Open() there must be a call to Close() made.


Sincerely yours
Eugene Mayevski
#29738
Posted: 06/09/2014 11:39:13
by Sean Taylor (Priority Standard support level)
Joined: 12/18/2013
Posts: 11

Okay. It connected. Here is the log.


Quote
<<<220-******** FTP Service
220-* Authorized Use Only *
220 All Connections are Logged

>>>USER ----
<<<331 User ----, password please

>>>PASS ----
<<<230 Password Ok, User logged in

>>>PBSZ 0
<<<200 PBSZ=0

>>>PROT P
<<<200 PROT P OK, data channel will be secured

>>>FEAT
<<<211- Additional features supported include:
MDTM
MFCT
MFMT
SIZE
REST STREAM
AUTH TLS
AUTH SSL
PBSZ
EPRT
EPSV
XCRC
XSHA1
XSHA256
XSHA512
XMD5
HASH SHA-256;SHA-512;SHA-1*;MD5
PROT
LANG EN*
SITE PSWD
SITE ZONE
SITE UTIME
MODE Z ZLIB(LEVEL)
MLST Type*;Size*;Modify*;Create*;
CLNT
CSID
RMDA
UTF8
211 End

>>>CWD cb\test
<<<250 Change directory ok

>>>PWD
<<<257 "/cb/test" is the current directory

>>>TYPE I
<<<200 Type Binary

>>>PASV
<<<227 Entering Passive Mode (128,11,162,159,19,168)

>>>STOR cb\test
<<<150 Opening data connection

<<<426 File transfer failed
#29739
Posted: 06/09/2014 11:51:42
by Sean Taylor (Priority Standard support level)
Joined: 12/18/2013
Posts: 11

This is the error I get when I secure the data connection. I dont get this error when I use FileZilla though.

Quote
<<<220-******** FTP Service
220-* Authorized Use Only *
220 All Connections are Logged

>>>USER ****
<<<331 User ****, password please

>>>PASS ******
<<<230 Password Ok, User logged in

>>>PBSZ 0
<<<200 PBSZ=0

>>>PROT C
<<<534 Clear data channel request denied for policy reasons

>>>FEAT
<<<211- Additional features supported include:
MDTM
MFCT
MFMT
SIZE
REST STREAM
AUTH TLS
AUTH SSL
PBSZ
EPRT
EPSV
XCRC
XSHA1
XSHA256
XSHA512
XMD5
HASH SHA-256;SHA-512;SHA-1*;MD5
PROT
LANG EN*
SITE PSWD
SITE ZONE
SITE UTIME
MODE Z ZLIB(LEVEL)
MLST Type*;Size*;Modify*;Create*;
CLNT
CSID
RMDA
UTF8
211 End

>>>CWD cb\test
<<<250 Change directory ok

>>>PWD
<<<257 "/cb/test" is the current directory

>>>TYPE I
<<<200 Type Binary

>>>PASV
<<<227 Entering Passive Mode (128,11,162,159,19,170)

>>>STOR cb\test
<<<150 Opening data connection

<<<522 Unable to secure data connection
#29740
Posted: 06/09/2014 12:43:25
by Eugene Mayevski (EldoS Corp.)

Moved to helpdesk ( https://www.eldos.com/helpdesk/ ). You will see your (and only your) support tickets by following this URL. You will also get e-mail notifications about updates related to your support ticket.


Sincerely yours
Eugene Mayevski
#33547
Posted: 06/03/2015 19:50:21
by Greg Steirer (Basic support level)
Joined: 06/03/2015
Posts: 2

Hello - I am experiencing this exact error/situation. I have made sure all settings match. I downloaded a different FTP library from Rebex and it worked perfectly out of the box. Any ideas? Thanks - Greg
#33552
Posted: 06/04/2015 04:06:39
by Vsevolod Ievgiienko (EldoS Corp.)

Quote
Hello - I am experiencing this exact error/situation. I have made sure all settings match. I downloaded a different FTP library from Rebex and it worked perfectly out of the box. Any ideas? Thanks - Greg


Hello.

What SecureBlackbox edition and version do you use? Is the problem reproducible with our samples? If yes, then please post its log here. The solution for Sean's problem was to adjust component properties correctly.

I’ve noticed there is no license ticket linked to your user account on EldoS site. Technical Support is provided to customers with the linked license tickets. You will find your license ticket together with all the details about how to use it in the registration e-mail that we’ve sent to you upon the purchase.

If you are evaluating the product and don't have a license yet, please let us know and then you can have support according to Basic support level. Basic support level includes answering basic technical questions that appear during product evaluation period.
#33565
Posted: 06/04/2015 18:22:04
by Greg Steirer (Basic support level)
Joined: 06/03/2015
Posts: 2

Hi Vsevolod, thanks for the reply. I am a contractor for my customer who actually owns the license. I did figure out the issue and thought it would be helpful for others if I posted the settings I used. The problem was the EncryptDataChannel property. It is false by default, whereas the FTPS servers I have been using expect the data channel to be encrypted. I would have thought this would be set to true if UseSSL was set to true by default. Here is what I set for a successful connection to all of my servers:

ftpsClient.Port = 990;
ftpsClient.UseSSL = true;
ftpsClient.SSLMode = TSBSSLMode.smImplicit;
ftpsClient.EncryptDataChannel = true;

Thanks - Greg
#33570
Posted: 06/05/2015 01:59:13
by Vsevolod Ievgiienko (EldoS Corp.)

Quote
I did figure out the issue and thought it would be helpful for others if I posted the settings I used.


Great! Thank you for sharing the outcome.
Also by EldoS: MsgConnect
Cross-platform protocol-independent communication framework for building peer-to-peer and client-server applications and middleware components.

Reply

Statistics

Topic viewed 3086 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!