unable to use winscp in windows task scheduler
Hello,
I am new to WinSCP. I am trying to schedule a normal put job using winscp. I have cretard a .bat file using below query.
winscp.com /log=F:\test\winscp.log /script=sftp.txt
In sftp.txt i have used below query.
option batch on
option confirm off
open NFSFTP
put F:\test\BSCC.txt /cs/test/
EXIT
When i execute the batch manually the file was delivered to SFTP but after scheduling the task in windows task scheduler the job can't send the file to SFTP.
Please advise.
Thanks
I am new to WinSCP. I am trying to schedule a normal put job using winscp. I have cretard a .bat file using below query.
winscp.com /log=F:\test\winscp.log /script=sftp.txt
In sftp.txt i have used below query.
option batch on
option confirm off
open NFSFTP
put F:\test\BSCC.txt /cs/test/
EXIT
When i execute the batch manually the file was delivered to SFTP but after scheduling the task in windows task scheduler the job can't send the file to SFTP.
Please advise.
Thanks