I have a windows server 2012, where the location "D:\BR_Reports\FTP_Files\T
est" will get a file with a filename that changes every day.
I'm trying to upload this file to an FTP location, "app/BR/EntPrs/Adhocs".
But when i save the below code as a bat file, and invoke it through Winscp, it's not uploading the file.
Can someone kindly help me resolve this issue?
option batch abort
option confirm off
open sftp://Buser_Name:B_Password@18.104.22.168 -hostkey="ssh-rsa 1024
option transfer ascii