Reputation: 1
We are trying to pass commands or shell scripts execution to Linux server from ASP.net.
For example, if we pass command ls
from ASP.NET to Linux server, then it must provide a list of files present in the respective path to ASP.NET as output.
Can anyone share the idea how we can achieve this?
Upvotes: 0
Views: 794
Reputation: 15758
If you only need to access to the file system, consider using Samba
. You can mount the remote file system to the Windows machine.
Another possibility is to access the files through FTP
.
Upvotes: 0
Reputation: 100545
telnet and other remote shell protocols are there for this.
Note: without proper security considerations it is very dangerous idea.
Upvotes: 1