Webdav Gui works, but .NET COM library fails with error 400

Advertisement

GregH
Joined:
Posts:
2
Location:
Denver, CO

Webdav Gui works, but .NET COM library fails with error 400

So I opened a session with the gui ... works great!!! good work! but when I try it with the .net library (in powershell) I get a 400 error bad request with the same sessionOptions as the gui session.

I've tried a bunch of permutations of the hostname, including the username and the starting directory. But no luck.

Any idea why this would be?

using non-secure webdav, with hostname, password and username set.
  • log.txt (19.63 KB, Private file)

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
27,226
Location:
Prague, Czechia

Re: Webdav Gui works, but .NET COM library fails with error 400

Session.SessionLogPath please, not Session.DebugLogPath.

Also s session log file from GUI session would help too.

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,226
Location:
Prague, Czechia

Re: Webdav Gui works, but .NET COM library fails with error 400

Thanks for the logs.

This issue has been added to the tracker:
https://winscp.net/tracker/show_bug.cgi?id=1213

I'm sending you an email with a development version of WinSCP to address you have used to register on this forum.

Reply with quote

Advertisement

You can post new topics in this forum