I have a small script:
option batch abort
option confirm off
get -delete /opt/cccc/*.txt c:\bbb\*.txt
And a batch file:
WinScp.com /ini=c:/ddd/winscp.ini /log=c:/ddd/winscp.log
When I run it from console or double click on the batch, it works well. But I need to run it as a service (each 10 secs), so I can't use Scheduler (minimum is 1 min)
I wrote a small program on Python that runs this batch, just run it. Anything works there, except for this batch!
Also, when I check the output of running this batch, it returns 3221225794 error status code, that actually means "access denied". But I put ini file, instead of using registry.
Can anyone help me?
Thank you in advace!