EldoS | Feel safer!

Software components for data protection, secure storage and transfer

FTP Proxy

Also by EldoS: RawDisk
Access locked and protected files in Windows, read and write disks and partitions and more.
Posted: 03/17/2016 06:56:36
by Markdata  (Standard support level)
Joined: 09/23/2010
Posts: 12


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 (Team)

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: 12

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

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: 12

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 (Team)

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: 12

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: 12

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

Thanks for the support!
Also by EldoS: CallbackFilter
A component to monitor and control disk activity, track file and directory operations (create, read, write, rename etc.), alter file data, encrypt files, create virtual files.



Topic viewed 3301 times

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


Back to top

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

Got it!