Hi,
I am using the rebex.net.sftp to connect. I am trying to use a log file to debug some issues.
Here is my code for the logwriter property.
Dim sftpClient As New Rebex.Net.Sftp()
sftpClient.LogWriter = New Rebex.FileLogWriter("e:temp", Rebex.LogLevel.Debug)
sftpClient.Connect(Domain, PortNumber)
sftpClient.Login(Username, Password)
sftpClient.GetFile(URL, LocalPath)
I am getting System.UnauthorizedAccessException to path "e:temp". I have verified that all the permissions are right. Infact my application writes different temp file to this directory using the same account. So, I am lost at this point. Any help is appreciated.
Thank you