Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

JohnZT

530 Login incorrect

Hi prikryl,

I already escalated the problem to the IT team but they reply that there is no problem. From there side there is nothing to be done.
However I still have this problem...

Is there a way in WinSCP to retry the login in case of failure?
Can you help me out?

Best regards,

João Silva
martin

Re: Authentication failed

You should start your research on the server side, to see if it logs a root cause of the authentication failure.
JohnZT

Authentication failed

Hi prikryl,

I am using WinSCP in script mode to scan multiple ftp accounts and time to time I have a error message "530 Login incorrect".
This is completely random on the accounts. What I trying to say is that the problem is not in the user/pass because in other ocasions the same combination works fine. Can you help me out to understand what is causing this?
Were is an example of the error:

. 2016-02-22 08:28:31.025 --------------------------------------------------------------------------

. 2016-02-22 08:28:31.025 WinSCP Version 5.7.6 (Build 5874) (OS 6.1.7601 Service Pack 1 - Windows Server 2008 R2 Enterprise)
. 2016-02-22 08:28:31.025 Configuration: \\LISSFPS01\Applications\IMS_EXE\WinSCP.ini
. 2016-02-22 08:28:31.041 Log level: Debug 2, Logging passwords
. 2016-02-22 08:28:31.041 Local account: INTERNAL\lisasvc-sql
. 2016-02-22 08:28:31.041 Working directory: C:\Windows\system32
. 2016-02-22 08:28:31.041 Process ID: 13804
. 2016-02-22 08:28:31.041 Command-line: "\\LISSFPS01\Applications\IMS_EXE\WinSCP.exe" /console=576 /consoleinstance=_13144_449 "/script=d:\temp\FTPExecute_m_60_20160222T082828623\FTPExecute_Script_60.ftp" "/xmllog=d:\temp\FTPExecute_m_60_20160222T082828623\FTPExecute_Log_60.log" "/log=d:\temp\FTPExecute_m_60_20160222T082828623\FTPExecute_Details_60.txt" "/loglevel=2*"
. 2016-02-22 08:28:31.041 Switch:    /console=576
. 2016-02-22 08:28:31.041 Switch:    /consoleinstance=_13144_449
. 2016-02-22 08:28:31.041 Switch:    /script=d:\temp\FTPExecute_m_60_20160222T082828623\FTPExecute_Script_60.ftp
. 2016-02-22 08:28:31.041 Switch:    /xmllog=d:\temp\FTPExecute_m_60_20160222T082828623\FTPExecute_Log_60.log
. 2016-02-22 08:28:31.041 Switch:    /log=d:\temp\FTPExecute_m_60_20160222T082828623\FTPExecute_Details_60.txt
. 2016-02-22 08:28:31.041 Switch:    /loglevel=2*
. 2016-02-22 08:28:31.041 Time zone: Current: GMT+0, Standard: GMT+0 (GMT Standard Time), DST: GMT+1 (GMT Daylight Time), DST Start: 2016-03-27, DST End: 2016-10-30
. 2016-02-22 08:28:31.041 Login time: 22 February 2016 08:28:31
. 2016-02-22 08:28:31.041 --------------------------------------------------------------------------
. 2016-02-22 08:28:31.041 Script: Retrospectively logging previous script records:
> 2016-02-22 08:28:31.041 Script: option batch abort
> 2016-02-22 08:28:31.041 Script: Parameter: batch
> 2016-02-22 08:28:31.041 Script: Parameter: abort
< 2016-02-22 08:28:31.041 Script: batch           abort     
< 2016-02-22 08:28:31.041 Script: reconnecttime   120       
> 2016-02-22 08:28:31.041 Script: option confirm off
> 2016-02-22 08:28:31.041 Script: Parameter: confirm
> 2016-02-22 08:28:31.041 Script: Parameter: off
< 2016-02-22 08:28:31.041 Script: confirm         off       
> 2016-02-22 08:28:31.041 Script: open ftp://cptu124:******@ftp03.pt.rxcorp.com/  -timeout=120
> 2016-02-22 08:28:31.041 Script: Parameter: ftp://cptu124:******@ftp03.pt.rxcorp.com/
> 2016-02-22 08:28:31.041 Script: Switch:    -timeout=120
. 2016-02-22 08:28:31.041 --------------------------------------------------------------------------
. 2016-02-22 08:28:31.041 Session name: cptu124@ftp03.pt.rxcorp.com (Ad-Hoc site)
. 2016-02-22 08:28:31.041 Host name: ftp03.pt.rxcorp.com (Port: 21)
. 2016-02-22 08:28:31.041 User name: cptu124 (Password: ******, Key file: No)
. 2016-02-22 08:28:31.041 Transfer Protocol: FTP
. 2016-02-22 08:28:31.041 Ping type: C, Ping interval: 30 sec; Timeout: 120 sec
. 2016-02-22 08:28:31.041 Disable Nagle: No
. 2016-02-22 08:28:31.041 Proxy: none
. 2016-02-22 08:28:31.041 Send buffer: 262144
. 2016-02-22 08:28:31.041 UTF: 2
. 2016-02-22 08:28:31.041 FTP: FTPS: None; Passive: Yes [Force IP: A]; MLSD: A [List all: A]
. 2016-02-22 08:28:31.041 Local directory: default, Remote directory: home, Update: Yes, Cache: Yes
. 2016-02-22 08:28:31.041 Cache directory changes: Yes, Permanent: Yes
. 2016-02-22 08:28:31.041 Timezone offset: 0h 0m
. 2016-02-22 08:28:31.041 --------------------------------------------------------------------------
. 2016-02-22 08:28:31.057 Connecting to ftp03.pt.rxcorp.com ...
. 2016-02-22 08:28:31.181 Connected with ftp03.pt.rxcorp.com. Waiting for welcome message...
< 2016-02-22 08:28:34.302 220 ftp03 FTP server (Version wu-2.6.2(1) Tue May 25 14:08:23 CDT 2004) ready.
> 2016-02-22 08:28:34.302 USER cptu124
< 2016-02-22 08:28:34.442 331 Password required for cptu124.
> 2016-02-22 08:28:34.442 PASS ******
< 2016-02-22 08:28:34.551 530 Login incorrect.
. 2016-02-22 08:28:34.551 Connection failed.
. 2016-02-22 08:28:34.551 Got reply 3004 to the command 1
. 2016-02-22 08:28:34.551 Password prompt (last login attempt failed)