Dart Home | PowerTCP SFTP & SSH for .NET | Custom Development | Reply | PowerTCP SFTP & SSH for .NET Topics | Forums |
Author | Forum: PowerTCP SFTP & SSH for .NET Topic: Verbose Logging Details |
bostonnole From: USA Posts: 1 Member Since: 01/30/14 |
posted January 31, 2014 10:48 AM Is there a way to get more verbose detailed logging/debugging information output when the Put command is issued? A VB.NET code example would be great to see. I am using version 4.4.3.6 The reason I ask is I am currently getting this exception message thrown: MESSAGE: Permission denied. (SSH_FX_PERMISSION_DENIED: The user does not have sufficient permissions to perform the operation.) |
Nick B (Admin) From: Utica, NY USA Posts: 619 Member Since: 05/25/10 Extra Support Options Custom Application Development |
posted January 31, 2014 11:33 AM Hello, The Log event provides the most verbose logging available, but it likely won't provide information on the cause of the server returning this error. For an example of the Log event's implementation, please see our included SFTP Client sample (VB.NET samples are included). This exception on a Put usually indicates that the server does not allow setting the modified time, or that the server has moved the file immediately after upload. Our component will set the modified time on upload by default; to disable this, set Sftp.AutoSetTime to false. In version 4.5.0.3, we throw a more descriptive exception in this scenario. |
Reply | PowerTCP SFTP & SSH for .NET Topics | Forums |
This site is powered by PowerTCP WebServer for ActiveX |