EldoS | Feel safer!

Software components for data protection, secure storage and transfer

FTP Proxy

Also by EldoS: Solid File System
A virtual file system that offers a feature-rich storage for application documents and data with built-in compression and encryption.
Posted: 03/17/2016 06:56:36
by Markdata  (Standard support level)
Joined: 09/23/2010
Posts: 11


I'm having difficulties connecting to an FTP server via proxy.

With FileZilla I can connect (passive or active).

This is what I have in FileZilla (Passive):
Option : USER@HOST
USER %u@%h

Host: xxx.xxx.xxx.xxx:2370 with no user and no paswword defined

This is the output of FileZilla:
Status:   Using proxy xxx.xxx.xxx.xxx:2370
Status:   Connecting to xxx.xxx.xxx.xxx:2370...
Status:   Connection established, waiting for welcome message...
Response:   220 FTP proxy (v0.13.5) ready
Command:   USER username@yyy.yyy.yyy.yyy:1000
Response:   331-(vsFTPd 2.0.5)
Response:   331 Please specify the password.
Command:   PASS ******
Response:   230 Login successful.
Status:   Connected
Status:   Retrieving directory listing...
Command:   PWD
Response:   257 "/"
Status:   Directory listing successful

And this is what I get with SecureBlackBox v13:

SecureBlackbox library exception: EElFTPSUnacceptedReplyError(Message: 'Unaccepted server reply (error code is 530)', ErrorCode: 0x00000212)

This is the code:
TElSimpleFTPSClient Client(NULL);




TElFTPProxySettings settings;

std::string lastReply = "";

Can you tell me if something is missing?

Posted: 03/17/2016 07:23:07
by Vsevolod Ievgiienko (EldoS Corp.)

Thank you for contacting us.

Please try to set TElSimpleFTPSClient.UseProxySettingsForDataChannel to 'true' and check if it works for you.
Posted: 03/17/2016 07:47:51
by Markdata  (Standard support level)
Joined: 09/23/2010
Posts: 11

Still the same error message.
Posted: 03/18/2016 04:39:44
by Vsevolod Ievgiienko (EldoS Corp.)

One more thing to try is to pass your login and password to

Posted: 03/18/2016 05:47:02
by Markdata  (Standard support level)
Joined: 09/23/2010
Posts: 11

I've already done that in the code I showed you here and with or without these two lines the error still occurs.

In Filezilla I use USER@HOST type.

What is the correspondent type in ssb? TSBFTPProxyType::ptUserPass?

with these options I get:

1) TSBFTPProxyType::ptTransparent
Unaccepted server reply (error code is 500)

2) TSBFTPProxyType::ptUserSite
Unaccepted server reply (error code is 530)

3) TSBFTPProxyType::ptUserPass
Unaccepted server reply (error code is 530)

4) TSBFTPProxyType::ptSite
Unaccepted server reply (error code is 530)

5) TSBFTPProxyType::ptOpen
Unaccepted server reply (error code is 530)
Posted: 03/18/2016 05:54:21
by Eugene Mayevski (EldoS Corp.)

To stop guessing it would be better if we could connect to your proxy and see what's going on. The reason is that the proxy-related code is quite old and this is not a very popular feature, so it could happen, that the proxy doesn't work like the client would expect (and vice versa).

I have created a HelpDesk ticket for you where you can provide the information about accessing the proxy.

Sincerely yours
Eugene Mayevski
Posted: 03/18/2016 07:27:25
by Markdata  (Standard support level)
Joined: 09/23/2010
Posts: 11

I've sent you some information about our server response.

It seems that the port number for the ftp server is being ignored, instead of 1000 the component set it to 21...
Posted: 03/22/2016 06:04:24
by Markdata  (Standard support level)
Joined: 09/23/2010
Posts: 11

Just to let people know, the new build (290) resolves this issue.

Thanks for the support!
Also by EldoS: BizCrypto
Components for BizTalk® and SQL Server® Integration Services that let you securely store and transfer information in your business automation solutions.



Topic viewed 2341 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!