script file works for one job but not a new job
Session name: MOTFTP (Site)
. 2018-06-22 12:41:10.585 Host name: ftp1.gcommerceinc.com (Port: 21)
. 2018-06-22 12:41:10.586 User name: motownauto.com (Password: Yes, Key file: No, Passphrase: No)
. 2018-06-22 12:41:10.586 Transfer Protocol: FTP
. 2018-06-22 12:41:10.586 Ping type: Dummy, Ping interval: 30 sec; Timeout: 420 sec
. 2018-06-22 12:41:10.586 Disable Nagle: No
. 2018-06-22 12:41:10.586 Proxy: None
. 2018-06-22 12:41:10.586 Send buffer: 262144
. 2018-06-22 12:41:10.586 UTF: Auto
. 2018-06-22 12:41:10.586 FTPS: None [Client certificate: No]
. 2018-06-22 12:41:10.586 FTP: Passive: Yes [Force IP: Auto]; MLSD: Auto [List all: Auto]; HOST: Auto
. 2018-06-22 12:41:10.586 Local directory: C:\Altova\Customer\MOT\Working\Outbound, Remote directory: /motownauto.com/Outbound, Update: Yes, Cache: Yes
. 2018-06-22 12:41:10.586 Cache directory changes: Yes, Permanent: Yes
. 2018-06-22 12:41:10.586 Recycle bin: Delete to: No, Overwritten to: No, Bin path:
. 2018-06-22 12:41:10.586 Timezone offset: 0h 0m
Connecting to ftp1.gcommerceinc.com ...
. 2018-06-22 12:41:10.684 Connected with ftp1.gcommerceinc.com. Waiting for welcome message...
< 2018-06-22 12:41:11.159 220 ftp1.gcommerceinc.com X2 WS_FTP Server 7.6.3(16270138)
> 2018-06-22 12:41:11.160 USER motownauto.com
< 2018-06-22 12:41:34.601 331 Enter password
> 2018-06-22 12:41:34.601 PASS *******
< 2018-06-22 12:41:40.488 230 User logged in
> 2018-06-22 12:41:40.488 SYST
< 2018-06-22 12:41:40.553 215 UNIX
> 2018-06-22 12:41:40.554 FEAT
< 2018-06-22 12:41:40.618 211-Extensions supported
< 2018-06-22 12:41:40.618 SIZE
< 2018-06-22 12:41:40.618 XMD5
< 2018-06-22 12:41:40.618 XSHA1
< 2018-06-22 12:41:40.618 XSHA256
< 2018-06-22 12:41:40.618 XSHA512
< 2018-06-22 12:41:40.618 XQUOTA
< 2018-06-22 12:41:40.618 LANG EN, ES, FR, GE
< 2018-06-22 12:41:40.618 MDTM
< 2018-06-22 12:41:40.618 MLST size*;type*;perm*;create*;modify*;
< 2018-06-22 12:41:40.618 REST STREAM
< 2018-06-22 12:41:40.618 TVFS
< 2018-06-22 12:41:40.618 UTF8
< 2018-06-22 12:41:40.618 AUTH SSL;TLS-P;
< 2018-06-22 12:41:40.618 PBSZ
< 2018-06-22 12:41:40.618 PROT C;P;
< 2018-06-22 12:41:40.619 211 end
> 2018-06-22 12:41:40.619 OPTS UTF8 ON
< 2018-06-22 12:41:40.684 200 Command OPTS succeed
. 2018-06-22 12:41:40.685 Connected
Session name: TCPFTPT (Ad-Hoc site)
. 2018-06-22 11:02:44.567 Host name: TCPFTPT (Port: 22)
. 2018-06-22 11:02:44.567 User name: (Password: No, Key file: No, Passphrase: No)
. 2018-06-22 11:02:44.567 Tunnel: No
. 2018-06-22 11:02:44.567 Transfer Protocol: SFTP (SCP)
. 2018-06-22 11:02:44.567 Ping type: Off, Ping interval: 30 sec; Timeout: 15 sec
. 2018-06-22 11:02:44.567 Disable Nagle: No
. 2018-06-22 11:02:44.568 Proxy: None
. 2018-06-22 11:02:44.568 Send buffer: 262144
. 2018-06-22 11:02:44.568 SSH protocol version: 2; Compression: No
. 2018-06-22 11:02:44.568 Bypass authentication: No
WINSCP /script=C:\\Altova\\Customer\\TCP\\SCRIPT.txt /log=\"C:\\winscp.log\" /loglevel=0
The script is below
OPEN TCPFTPT
LCD C:\Altova\Customer\TCP\Working\Outbound
cd /tricountypande.com/Outbound
Put PO_850_0000002.XML -filemask=PO_850_0000002.XML
Exit