Re: Shelless SSH - WeOnlyDo Discussion board

Re: Shelless SSH (General questions)

by schenkp, Wednesday, July 08, 2009, 13:57 (5616 days ago) @ wodDamir

Peter,

Receive method returns a String value. This means that you can simply do something like this:

[code]String result = ssh1.Receive();
System.IO.File.CreateAllText( C:file.txt , result);
[/code]

Can you try that?

Regards,
Damba

Getting the following compile error

Error 1 'System.IO.File' does not contain a definition for 'CreateAllText' C:Documents and SettingsschenkpDesktopWindowsFormsApplication1WindowsFormsApplication1Form1.cs 50 32 WindowsFormsApplication1


Complete thread: