upload from local dir to SFTP folder
Hi, i am trying to use the following script to upload some files to our SFTP server but it is failing.
Can anyone help please?
cd c:\Program Files (x86)\winscp
winscp.exe /console /Command "option batch abort" "option confirm off" "open sftp://User:Password@IP:22/" "put C:\QVS\Logs\Sessions*.log /QlikView/QlikView User Logs" "close" "exit" /log="C:\veoliadata\LogTransfer.log"
I have attached the log.
Thanks :)
Can anyone help please?
cd c:\Program Files (x86)\winscp
winscp.exe /console /Command "option batch abort" "option confirm off" "open sftp://User:Password@IP:22/" "put C:\QVS\Logs\Sessions*.log /QlikView/QlikView User Logs" "close" "exit" /log="C:\veoliadata\LogTransfer.log"
I have attached the log.
Thanks :)