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 snippit:
(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

You can post new topics in this forum