WebDAV access help needed

Advertisement

marcvanc
Joined:
Posts:
1
Location:
Belgium

WebDAV access help needed

I have access to a WebDAV with WinSCP UI. No problem there. See png. I use following code snippet:
(It probably has something to do with TSL/SLL encryption, but I do not know what tot do)

Thank you for any help. Marc
Dim sessionOptions As New SessionOptions
With sessionOptions
   .Protocol = Protocol.Webdav
   .HostName = "xxx.xxxxx.xx"
   .PortNumber = 443
   .WebdavRoot = "/xxx/"
   .UserName = "xxx"
   .Password = "xxx"
End With
 
Using session As New Session
    session.Open(sessionOptions)
I Get the following error:
WinSCP.SessionRemoteException: Could not read status line: connection was closed by server ---> WinSCP.SessionRemoteException: Connection failed.

2016-07-02 09_48_51-Clipboard.png

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum