EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Unaccepted server reply (error code is 530)

Also by EldoS: RawDisk
Access locked and protected files in Windows, read and write disks and partitions and more.
#17106
Posted: 07/21/2011 17:38:24
by Ken Ivanov (EldoS Corp.)

Did this ever get resolved?

I have a similar issue with some servers the password is correct and has no special characters.

Log files from test app and WSFTP below.

Thanks,
Gary




From the test ftps test app
<<< 220 ftp2.coresource.com
>>> USER xxx
<<< 331 Password required for fmh.
>>> PASS [removed]
<<< 530 Not logged in.


WSFTP Log
USER xxx
331 Password required for fmh.
PASS (hidden)
230 Login OK. Proceed.
SYST
215 UNIX Type: L8
Host type (2): Unix (Standard)
Sending "FEAT" command to determine what features this server supports.
FEAT
211-Features supported:
COMB target;source_list
REST STREAM
SIZE
MDTM
XCRC filename;start;end
SSCN
MLST Size*;Modify*;Create;Type*;Unique;Perm*;Lang;Media-Type;CharSet;
XNOP
211 END
Finished interpreting "FEAT" response.
Sending the FEAT command is optional. You can disable it in the site options of the profile.
PWD
257 "/" is current folder.
TYPE A200 Type set to A.
PASV
227 Entering Passive Mode (10,254,22,81,13,224).
connecting data channel to 10.254.22.81:13,224(3552)
data channel connected to 10.254.22.81:13,224(3552)
LIST
150 Opening ASCII mode data connection for file list.
transferred 374 bytes in 0.141 seconds, 20.778 Kbps ( 2.597 Kbps), transfer succeeded.
226 Transfer complete. 374 bytes transferred. 374 bps.
CWD /
250 Folder changed to "/".
/ loaded from [Directory Listing Cache]DIR2371.tmp
#17108
Posted: 07/21/2011 17:42:38
by Ken Ivanov (EldoS Corp.)

Thank you for contacting us.

The log of WSFTP says that the authentication has been successful. Could you please provide us a bit more information about the issue:

1) What version of SecureBlackbox are you using?

2) Does the SimpleFTPSDemo sample expose the same issue when authenticating to "problematic" servers?
#17112
Posted: 07/22/2011 08:55:35
by Gary Smotherman (Standard support level)
Joined: 07/21/2011
Posts: 2

Version 8.1.191

Yes, this is from the ftps demo
<<< 220 ftp2.coresource.com
>>> USER xxx
<<< 331 Password required for fmh.
>>> PASS [removed]
<<< 530 Not logged in.
#17113
Posted: 07/22/2011 09:05:25
by Vsevolod Ievgiienko (EldoS Corp.)

Hello.

FTP error code 530 means that login or password is incorrect. Could you check this. You should also check if you can access the server using another FTP client.
#17114
Posted: 07/22/2011 09:05:42
by Ken Ivanov (EldoS Corp.)

Are you able to log in to this server with some third-party FTP tool (e.g. FileZilla)? If yes, could you please provide us the connection log created by that tool?
#34027
Posted: 07/15/2015 09:09:48
by vatsal smonik (Basic support level)
Joined: 07/15/2015
Posts: 4

Hi

I have problem with FTPS over TLS protocol.I am trying to connect server but got error"Unaccepted server reply (error code is 530)".
Following is my code.
SBSimpleFTPS.TElSimpleFTPSClient _FtpClient = new TElSimpleFTPSClient();

_FtpClient.Address = servername;
_FtpClient.Username = username;
_FtpClient.Password = password;
_FtpClient.Port = 21;

_FtpClient.Versions = SBSSLConstants.Unit.sbTLS11;
_FtpClient.UseSSL = false;
_FtpClient.EncryptDataChannel = false;
_FtpClient.AuthCmd = SBSimpleFTPS.Unit.acAuthTLS;
_FtpClient.PassiveMode = true;
_FtpClient.SSLMode = SBSSLCommon.TSBSSLMode.smExplicit;
_FtpClient.TransferType = SBSimpleFTPS.Unit.ttBinary;

_FtpClient.Open();

try
{
_FtpClient.Login();
}
catch (Exception exc)
{
throw exc;
}

please give me some solution.
regards
nirav


Hi,
I am implement FTPS over TLS. but I got error " Unaccepted server reply (error code is 530)".
Below is my code.
SBSimpleFTPS.TElSimpleFTPSClient _FtpClient = new TElSimpleFTPSClient();

_FtpClient.Address = servername;
_F
#34028
Posted: 07/15/2015 09:19:55
by Vsevolod Ievgiienko (EldoS Corp.)

Thank you for contacting us.

Please try to connect to the server using our sample. It the problem still exists, then post its log here.

Code
_FtpClient.UseSSL = false;
_FtpClient.EncryptDataChannel = false;


This is incorrect. These properties should be 'true' to use TLS.
#34029
Posted: 07/15/2015 09:54:49
by vatsal smonik (Basic support level)
Joined: 07/15/2015
Posts: 4

Hi

I try with this two property set to true
_FtpClient.UseSSL = true;
_FtpClient.EncryptDataChannel = true;

but still i am getting error like this "Error occured while enabling SSL/TLS on command channel".

Please give me some suggestion.

regards
nirav


Hi,
I am implement FTPS over TLS. but I got error " Unaccepted server reply (error code is 530)".
Below is my code.
SBSimpleFTPS.TElSimpleFTPSClient _FtpClient = new TElSimpleFTPSClient();

_FtpClient.Address = servername;
_F
#34030
Posted: 07/15/2015 09:58:54
by Vsevolod Ievgiienko (EldoS Corp.)

Quote
vatsal smonik wrote:
Hi

I try with this two property set to true
_FtpClient.UseSSL = true;
_FtpClient.EncryptDataChannel = true;

but still i am getting error like this "Error occured while enabling SSL/TLS on command channel".
nirav

As I wrote above, please try to connect to the server using our sample.
#34031
Posted: 07/15/2015 10:26:59
by vatsal smonik (Basic support level)
Joined: 07/15/2015
Posts: 4

Hi
sorry, I am getting following error while connect with FTPS Over TLS.
I want to connect this server without certificate add.
I am getting below error.
SBSimpleFTPS.EElFTPSError: Certificate validation handler is not assigned. Please handle the OnCertificateValidate event and implement proper certificate validation code there.

Please give me some suggestion.

regards
nirav


Hi,
I am implement FTPS over TLS. but I got error " Unaccepted server reply (error code is 530)".
Below is my code.
SBSimpleFTPS.TElSimpleFTPSClient _FtpClient = new TElSimpleFTPSClient();

_FtpClient.Address = servername;
_F
Also by EldoS: CallbackRegistry
A component to monitor and control Windows registry access and create virtual registry keys.

Reply

Statistics

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