writing xml to sftp by SharpSHH

Fero

New Member
i would like to create some xml(i think XmlDocument would be good for me) and then write it to sftp. I found only one free lib to do that: SharpSSH, but it only provides api that can save existing file to sftp(i have to provide source file name) - i dont like that aprouch. SharpSHH on privdes function that as a source use InputStream object: public abstract class InputStream : IO.Stream{...} public class FileInputStream : InputStream { IO.FileStream fs; }Is there a way to convert XmlDocument to File object? Or mby Name property could be used as "path"?
 
Back
Top