密码更改为FTP

时间:2017-08-22 09:29:18

标签: winscp

我有一个批处理脚本已经工作了好几个月了,我们之前一直在更改密码而没有问题。但我注意到,自从我们上周更改密码后,文件不再被转移。我检查了防火墙和设置,一切似乎都很好。使用其他计算机时,问题在任何地方都会被复制。请参阅下面的winscp日志文件。密码和用户甚至没有特殊字符。

WinSCP Version 5.9.3 (Build 7136) (OS 6.1.7601 Service Pack 1 - Windows 7 Enterprise)
. 2017-08-22 09:00:24.720 Configuration: C:\Program Files\winSCP\WinSCP.ini
. 2017-08-22 09:00:24.720 Log level: Normal
. 2017-08-22 09:00:24.720 Local account: xxxxxxxxxxxx
. 2017-08-22 09:00:24.720 Working directory: C:\Program Files\WinSCP
. 2017-08-22 09:00:24.720 Process ID: 7804
. 2017-08-22 09:00:24.720 Command-line: "C:\Program Files\winSCP\WinSCP.exe"   /script=xxxxxxxxxxxxhealth.txt /log=c:log_winscp.txt  
. 2017-08-22 09:00:24.720 Time zone: Current: GMT+1 
. 2017-08-22 09:00:24.720 Login time: Tuesday, August 22, 2017 9:00:24 AM
. 2017-08-22 09:00:24.720 --------------------------------------------------------------------------
. 2017-08-22 09:00:24.720 Script: Retrospectively logging previous script records:
> 2017-08-22 09:00:24.720 Script: option batch continue
< 2017-08-22 09:00:24.720 Script: batch           continue  
< 2017-08-22 09:00:24.720 Script: reconnecttime   120       
> 2017-08-22 09:00:24.720 Script: option confirm off
< 2017-08-22 09:00:24.720 Script: confirm         off       
> 2017-08-22 09:00:24.720 Script: reconnecttime 900
< 2017-08-22 09:00:24.720 Script: Unknown command 'reconnecttime'.
. 2017-08-22 09:00:24.720 Script: Failed
> 2017-08-22 09:00:24.720 Script: open ftp://company:***@xxxxxxxxxxxxx.com
. 2017-08-22 09:00:24.720 --------------------------------------------------------------------------
. 2017-08-22 09:00:24.720 Session name: company@xxxxxxxxxx.com (Ad-Hoc site)
. 2017-08-22 09:00:24.720 Host name: xxxxxxxxxx.com (Port: 21)
. 2017-08-22 09:00:24.720 User name: company (Password: Yes, Key file: No, Passphrase: No)
. 2017-08-22 09:00:24.720 Transfer Protocol: FTP
. 2017-08-22 09:00:24.720 Ping type: Dummy, Ping interval: 30 sec; Timeout: 6000 sec
. 2017-08-22 09:00:24.720 Disable Nagle: No
. 2017-08-22 09:00:24.720 Proxy: None
. 2017-08-22 09:00:24.720 Send buffer: 262144
. 2017-08-22 09:00:24.730 UTF: Auto
. 2017-08-22 09:00:24.730 FTPS: None [Client certificate: No]
. 2017-08-22 09:00:24.730 FTP: Passive: Yes [Force IP: Auto]; MLSD: Auto [List all: Auto]; HOST: Auto
. 2017-08-22 09:00:24.730 Local directory: C:\, Remote directory: /, Update: Yes, Cache: Yes
. 2017-08-22 09:00:24.730 Cache directory changes: Yes, Permanent: Yes
. 2017-08-22 09:00:24.730 Recycle bin: Delete to: No, Overwritten to: No, Bin path: 
. 2017-08-22 09:00:24.730 Timezone offset: 0h 0m
. 2017-08-22 09:00:24.730 --------------------------------------------------------------------------
. 2017-08-22 09:00:24.730 Connecting to xxxxxxxxxx.com ...
. 2017-08-22 09:00:25.660 Connected with xxxxxxxxxxxxxx.com. Waiting for welcome message...
< 2017-08-22 09:00:25.990 220 Microsoft FTP Service
> 2017-08-22 09:00:25.990 USER company
< 2017-08-22 09:00:26.270 331 Password required for company.
> 2017-08-22 09:00:26.270 PASS **********
< 2017-08-22 09:00:26.550 530 User company cannot log in.
. 2017-08-22 09:00:26.550 Connection failed.
. 2017-08-22 09:00:26.550 Password prompt (last login attempt failed)

1 个答案:

答案 0 :(得分:0)

我已经解决了这个问题。密码不喜欢密码末尾的数字,即使GUI接受了密码。我确保密码的名称与前一个密码不相似。

感谢Martin的支持