'does Renci.SshNet have a method like WinSCP: $transferOptions.PreserveTimestamp = $False?

I am currently trying to use Renci.SshNet StfpClient to Upload files to a remote server. I get the following:

Upload of file .. was successful, but error occurred while setting the permissions and/or timestamp.

I see there is a solution for this issue using WinSCP. I was wondering if a similar solution exist for C# Renci.SshNet?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source