Non-Interactive
I wrote a very little script to get a file from an SFTP server.
The script runs just fine.
I can get it to run thru the Task Scheduler but...
As soon as I ask it to run wheter i'm logged on or not (I have to enter my password then), it doesn't run at all. I mean nothing at all. No execution, no log, no output, NOTHING.
Off course, I'm sure of the password I entered.
I tried several times and if I include my script in a batch file, the previous and post parts of the batch file are executed. The winscp.com line is just ignored by the process.
It runs on a Windows 2008R2 Server. I have the same problem on several servers (same OS).
I'm open to give any additionnal information I can to help you discover the origin of this strange problem as I'm unable to do it myself...
Best regards from Belgium and happy new year to all of you :-)