Script encountering authentication issues with WebDAV server (Outlook.com)
Hello,
I am trying to transfer SQL files from a local folder to OneDrive using WinSCP with the following batch script:
But I get the following error:
I have double-checked the username and password, and they are correct. Can you tell me where the problem might be? The script was running smoothly until about two weeks ago (with the same credentials). As a test, I rewrote this script to upload files to another OneDrive account, and it worked properly. Is there possibly a problem with the account transferTest@outlook.com?
Thank you!
I am trying to transfer SQL files from a local folder to OneDrive using WinSCP with the following batch script:
@echo off "C:\Program Files (x86)\WinSCP\WinSCP.com" ^ /command ^ "open davs://transferTest@outlook.com:mypassword@d.docs.live.net/96CD15E62736DEE8/Dokumenti/IzvozPodataka" ^ "put C:\izvoz\*.sql" ^ "exit" set WINSCP_RESULT=%ERRORLEVEL% if %WINSCP_RESULT% equ 0 ( echo Success ) else ( echo Error )
Connecting to host... Authenticated. Starting the session... Error changing directory to '/96CD15E62736DEE8/Dokumenti/IzvozPodataka'. Authentication failed. Could not authenticate to server: ignored Wlid1.1 challenge Error Press any key to continue . . .
Thank you!