Problem when using mput C:\fileName*
Hi,
I am using Script automation to upload some file on the server and have used the following script
option batch abort
option confirm off
open -hostkey=* sftp://username:password@server
put -transfer=ascii C:\testfile*
bye
The path C:\testfile* doesn't exist. Even then Winscp is not logging any error in xml error and is finishing with success. The command I am running for winscp is
winscp.com -script:scripPath -xmllog:logPath -ini:nul -log:somePath
Can you please answer how can I get winscp to exit with an error saying path C:\testfile* doesnt exist. I am using winscp.com version 4.0.3.4214
I am using Script automation to upload some file on the server and have used the following script
option batch abort
option confirm off
open -hostkey=* sftp://username:password@server
put -transfer=ascii C:\testfile*
bye
The path C:\testfile* doesn't exist. Even then Winscp is not logging any error in xml error and is finishing with success. The command I am running for winscp is
winscp.com -script:scripPath -xmllog:logPath -ini:nul -log:somePath
Can you please answer how can I get winscp to exit with an error saying path C:\testfile* doesnt exist. I am using winscp.com version 4.0.3.4214