script with logging
Hi,
I am using this script to move files on my FTP server, but it stopped working when I added this part.
Any idea why?
The full code is below:
I am using this script to move files on my FTP server, but it stopped working when I added this part.
/log ="D:\Projects\ert\fbi\WinSCPLog\TransferLog.log"
Any idea why?
The full code is below:
/console /log ="D:\Projects\ert\fbi\WinSCPLog\TransferLog.log" /command "open sftp://ssiskfbdev:@bqmsft.westus.cloudapp.azure.com -hostkey=""ecdsa-s*****256 256 52:07:59:b2:f6:0b******:04"" -privatekey=""D:\Projects\ert\fbi\FTP_Keys\dev.ppk""" "get incoming/*.txt D:\Projects\ert\fbi\Incoming\" "mv incoming/*.txt /incoming/archive/" "exit"