Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: Microsoft OneDrive with WebDAV

Thanks for sharing your solution. How does one activate the "double check"?
madjo1983

Re: Microsoft OneDrive with WebDAV

OK nevermind.
It happens when double check is activated.
At fist I tried the app password (https://account.live.com/proofs/AppPassword) but it was not working. I tried with another onedrive account, and the app password worked.
Then I tried again with first account, and tada !!! working.

Then it is as the https://winscp.net/forum/viewtopic.php?t=30161, you have to use app password if you have double check activated on your microsoft Account...
madjo1983

Re: Microsoft OneDrive with WebDAV

Do you see smthg wrkong on screenshots attached ?
martin

Re: Microsoft OneDrive with WebDAV

Sorry, I do not know how to help you, only to suggest that you tripple check your credentials and your "customer id". If I follow the instructions in the documentation, I can login to my personal OneDrive account without any problem.
madjo1983

Re: Microsoft OneDrive with WebDAV

OK, then my bad, I read the wrong forum topic for logging.
Here the log in attachment.
madjo1983

Re: Microsoft OneDrive with WebDAV

martin wrote:

Where did you do that? Show us a complete code/script/commandline, whatever you are doing.

I did it in in winscp command line...
martin

Re: Microsoft OneDrive with WebDAV

Where did you do that? Show us a complete code/script/commandline, whatever you are doing.
madjo1983

Re: Microsoft OneDrive with WebDAV

That's what I did:
davs://prefix%40suffix@d.docs.live.net/path/ /log="C:\Temp\winscp.log" /loglevel=0
not working...
martin

Re: Microsoft OneDrive with WebDAV

To generate the session log file, use /log=C:\path\to\winscp.log command-line argument.
madjo1983

Re: Microsoft OneDrive with WebDAV

Trying to log but I don't succeed.
I don't see the option in WinSCp.
Then tried in command line like:
davs://prefix%40suffix@d.docs.live.net/path/ /log="C:\Temp\winscp.log" /loglevel=0
But no log is generated...
and still get the error message I put in attachment.

Cheers.
O.
martin

Please attach a full session log file showing the problem (using the latest version of WinSCP).

To generate the session log file, enable logging, log in to your server and do the operation and only the operation that causes the error. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.
madjo1983

Regular one.
martin

Re: Microsoft OneDrive with WebDAV

Is it a regular end-customer OneDrive account? Or OneDrive for business?
madjo1983

Microsoft OneDrive with WebDAV

Hi,

I used https://winscp.net/eng/docs/guide_microsoft_onedrive post and I don't suceed in connectig, getting error:

Could not authenticate to server: Missing Authentication-Info header
La connexion a échouée.

Any tip please ?

Thanks.
O.