How to write log of file transfer to text file using winscp.com
How to write log of file transfer to text file using winscp.com
my code is below
move "D:\*.csv" "D:\TEST\" >>D:\log.txt
winscp.com /command ^
"option batch abort" ^
"open sftp://username and password/ -privatekey=""private key path"" -hostkey=""*""" ^
"cd TEST/Csv/" ^
"put D:\*.csv" ^
"exit"
move "D:\TEST\*.csv" "D:\Backup\" >>D:\log.txt
=============
How can i write log for winscp file sending actions
my code is below
move "D:\*.csv" "D:\TEST\" >>D:\log.txt
winscp.com /command ^
"option batch abort" ^
"open sftp://username and password/ -privatekey=""private key path"" -hostkey=""*""" ^
"cd TEST/Csv/" ^
"put D:\*.csv" ^
"exit"
move "D:\TEST\*.csv" "D:\Backup\" >>D:\log.txt
=============
How can i write log for winscp file sending actions