Re: Access Windows Network Share with UNC Path
What are you trying to achieve? Files on a network share can be accessed directly, you do not need (and you cannot actually) to use WinSCP .NET assembly for that.
\\server\directory
. I am able to browse to this network share in Windows Explorer. I have a Active Directory user with access to that account. SessionOptions
are as follows:
Protocol = Protocol.Scp,
HostName = _networkShareUNC,
UserName = _networkShareUserame,
Password = _networkSharePassword,
GiveUpSecurityAndAcceptAnySshHostKey = true
Host "<my-UNC-path>" does not exist
Protocol
to use.