I am trying to automate the execution of convert.bat file with the windows option: scheduled task, but I can not get it working properly.
This is my file convert.bat
psftp 10.20.10.205 -l uccxrecording -pw 4dm1n -b ftp.txt -batch
cd "C:\Program Files\Cisco\Desktop\bin"
for %%c in (..\..\Desktop_audio\*.Raw) do raw2wav "%%~nc%%~xc"
when I activate the scheduled task of windows and execute the convert.bat only it create the raw folder.
I assume the contents of the ftp.txt file is the three lines after the line starting with psftp, is this correct?
Are you sure the SSH sever is running and is SFTP enabled? Does calling SFTP on the address give you a prompt?