/ Set up session options
SessionOptions sessionOptions = new SessionOptions
Protocol = Protocol.Webdav,
HostName = "my.targetserver.com",
PortNumber = 443,
UserName = "myusername",
Password = "mypassword",
WebdavSecure = true,
using (Session session = new Session())
// Your code
However, when the code reaches the session.Open line of code, I get:
SessionRemoteException was caught. Authentication failed. Could not authenticate to server. rejected Basic challenge. Connection failed.
The hostname in my code is correct.
The username in my code is correct.
The password in my code is correct.
The code was copied from the Manage, Generate tab as noted above.
Any ideas that might help me get this resolved?