Write Data to Linux
-
HI all, Is there a way to write data(text data) to Linux directory using C#? or Help me with establishing connectivity with Linux using C# code. Regards, Yuva
-
HI all, Is there a way to write data(text data) to Linux directory using C#? or Help me with establishing connectivity with Linux using C# code. Regards, Yuva
yuvachandra wrote:
Is there a way to write data(text data) to Linux directory using C#?
Works the same as if you were writing to a Windows file. Will you be writing on the local PC (ie, running C# on that Linux-machine) or from a remote machine? Simplest way is to install Mono; you can use the usual classes from System.IO to write to the local filesystem. If you're running on Windows and want to write to Linux, easiest way is to have a small app running on the Linux-machine and have the Win-App talk to that over TCP/IP. The cleanest way would be using Samba - if you can install that on the Linux machine, you could map a drive to your Windows host. So, in short; - Write local or remote? - Write from Linux or Windows? - Is Mono or Samba installed?
Bastard Programmer from Hell :suss: if you can't read my code, try converting it here[^]
-
HI all, Is there a way to write data(text data) to Linux directory using C#? or Help me with establishing connectivity with Linux using C# code. Regards, Yuva