Being aware that my question perhaps is not in line with the SCP-protocol, I wondered if it is possible to directly write the contents of a .NET string to the remote file? Using the PutFiles-method I see that the first two parameters are localPath and remotePath. I would like to skip the step of first writing the string contents to a local file and then using the PutFiles but the method doesn't seem to have an overload to support this approach. Is there a way to accomplish this with WinSCP?
Thanks very much,