Is there a way to connect to the Linux filesystem with C# without using Samba?
I need it to get a configuration file from the server, edit it and place it
back. And after that I need to restart a service, however this is not
difficult since I already have the API's to do this.
Unfortunately I can't find anything about this subject, so I am afraid that
it can't be done...
TIA,
Arjan. 14 9969
"Arjan" <Ar***@discussi ons.microsoft.c om> wrote in message
news:62******** *************** ***********@mic rosoft.com...
| Is there a way to connect to the Linux filesystem with C# without using
Samba?
|
| I need it to get a configuration file from the server, edit it and place
it
| back. And after that I need to restart a service, however this is not
| difficult since I already have the API's to do this.
|
| Unfortunately I can't find anything about this subject, so I am afraid
that
| it can't be done...
|
| TIA,
| Arjan.
You have to map a drive to connect to the exported SMB share, or use a UNC
path to copy the file back and forth.
Willy.
Hi,
"Arjan" <Ar***@discussi ons.microsoft.c om> wrote in message
news:62******** *************** ***********@mic rosoft.com... Is there a way to connect to the Linux filesystem with C# without using Samba?
You need Samba in the linux server, that's the only way windows can access
it as a "regular" network drive.
The other way would be using FTP
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
Thanks for your quick response, however I mentioned that I don't want to use
Samba (SMB).
"Willy Denoyette [MVP]" wrote: "Arjan" <Ar***@discussi ons.microsoft.c om> wrote in message news:62******** *************** ***********@mic rosoft.com... | Is there a way to connect to the Linux filesystem with C# without using Samba? | | I need it to get a configuration file from the server, edit it and place it | back. And after that I need to restart a service, however this is not | difficult since I already have the API's to do this. | | Unfortunately I can't find anything about this subject, so I am afraid that | it can't be done... | | TIA, | Arjan.
You have to map a drive to connect to the exported SMB share, or use a UNC path to copy the file back and forth.
Willy.
Well, another other option is to use NFS on linux and "Windows Services for
UNIX" on Windows. http://www.microsoft.com/windowsserv...s/default.mspx
but you need something, right? Or do you prefer FTP?
Willy.
"Arjan" <Ar***@discussi ons.microsoft.c om> wrote in message
news:7E******** *************** ***********@mic rosoft.com...
|
| Thanks for your quick response, however I mentioned that I don't want to
use
| Samba (SMB).
|
|
| "Willy Denoyette [MVP]" wrote:
|
| >
| > "Arjan" <Ar***@discussi ons.microsoft.c om> wrote in message
| > news:62******** *************** ***********@mic rosoft.com...
| > | Is there a way to connect to the Linux filesystem with C# without
using
| > Samba?
| > |
| > | I need it to get a configuration file from the server, edit it and
place
| > it
| > | back. And after that I need to restart a service, however this is not
| > | difficult since I already have the API's to do this.
| > |
| > | Unfortunately I can't find anything about this subject, so I am afraid
| > that
| > | it can't be done...
| > |
| > | TIA,
| > | Arjan.
| >
| > You have to map a drive to connect to the exported SMB share, or use a
UNC
| > path to copy the file back and forth.
| >
| > Willy.
| >
| >
| >
There is no way that I can use something like NFS?
"Ignacio Machin ( .NET/ C# MVP )" wrote: Hi,
"Arjan" <Ar***@discussi ons.microsoft.c om> wrote in message news:62******** *************** ***********@mic rosoft.com... Is there a way to connect to the Linux filesystem with C# without using Samba?
You need Samba in the linux server, that's the only way windows can access it as a "regular" network drive.
The other way would be using FTP -- Ignacio Machin, ignacio.machin AT dot.state.fl.us Florida Department Of Transportation
NFS is good. It is just that I don't really like Samba. And I rather prefer
to use NFS.
"Willy Denoyette [MVP]" wrote: Well, another other option is to use NFS on linux and "Windows Services for UNIX" on Windows. http://www.microsoft.com/windowsserv...s/default.mspx but you need something, right? Or do you prefer FTP?
Willy.
"Arjan" <Ar***@discussi ons.microsoft.c om> wrote in message news:7E******** *************** ***********@mic rosoft.com... | | Thanks for your quick response, however I mentioned that I don't want to use | Samba (SMB). | | | "Willy Denoyette [MVP]" wrote: | | > | > "Arjan" <Ar***@discussi ons.microsoft.c om> wrote in message | > news:62******** *************** ***********@mic rosoft.com... | > | Is there a way to connect to the Linux filesystem with C# without using | > Samba? | > | | > | I need it to get a configuration file from the server, edit it and place | > it | > | back. And after that I need to restart a service, however this is not | > | difficult since I already have the API's to do this. | > | | > | Unfortunately I can't find anything about this subject, so I am afraid | > that | > | it can't be done... | > | | > | TIA, | > | Arjan. | > | > You have to map a drive to connect to the exported SMB share, or use a UNC | > path to copy the file back and forth. | > | > Willy. | > | > | >
you have to find if there is a NFS driver for windows, I bet there are, not
sure if they are free though.
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"Arjan" <Ar***@discussi ons.microsoft.c om> wrote in message
news:A0******** *************** ***********@mic rosoft.com... There is no way that I can use something like NFS?
"Ignacio Machin ( .NET/ C# MVP )" wrote:
Hi,
"Arjan" <Ar***@discussi ons.microsoft.c om> wrote in message news:62******** *************** ***********@mic rosoft.com... > Is there a way to connect to the Linux filesystem with C# without using > Samba?
You need Samba in the linux server, that's the only way windows can access it as a "regular" network drive.
The other way would be using FTP -- Ignacio Machin, ignacio.machin AT dot.state.fl.us Florida Department Of Transportation
"Windows Services for UNIX" has both NFS server and client, and is freely
downloadable (need to register).
Willy.
"Ignacio Machin ( .NET/ C# MVP )" <ignacio.mach in AT dot.state.fl.us > wrote
in message news:uY******** ******@tk2msftn gp13.phx.gbl...
| you have to find if there is a NFS driver for windows, I bet there are,
not
| sure if they are free though.
|
|
|
| --
| Ignacio Machin,
| ignacio.machin AT dot.state.fl.us
| Florida Department Of Transportation
|
|
|
| "Arjan" <Ar***@discussi ons.microsoft.c om> wrote in message
| news:A0******** *************** ***********@mic rosoft.com...
| > There is no way that I can use something like NFS?
| >
| > "Ignacio Machin ( .NET/ C# MVP )" wrote:
| >
| >> Hi,
| >>
| >> "Arjan" <Ar***@discussi ons.microsoft.c om> wrote in message
| >> news:62******** *************** ***********@mic rosoft.com...
| >> > Is there a way to connect to the Linux filesystem with C# without
using
| >> > Samba?
| >>
| >>
| >> You need Samba in the linux server, that's the only way windows can
| >> access
| >> it as a "regular" network drive.
| >>
| >> The other way would be using FTP
| >>
| >>
| >>
| >> --
| >> Ignacio Machin,
| >> ignacio.machin AT dot.state.fl.us
| >> Florida Department Of Transportation
| >>
| >>
| >>
|
|
Just downloaded it. Does it have components that I can use in my application?
Or do I need to completely install it?
"Willy Denoyette [MVP]" wrote: "Windows Services for UNIX" has both NFS server and client, and is freely downloadable (need to register).
Willy.
"Ignacio Machin ( .NET/ C# MVP )" <ignacio.mach in AT dot.state.fl.us > wrote in message news:uY******** ******@tk2msftn gp13.phx.gbl... | you have to find if there is a NFS driver for windows, I bet there are, not | sure if they are free though. | | | | -- | Ignacio Machin, | ignacio.machin AT dot.state.fl.us | Florida Department Of Transportation | | | | "Arjan" <Ar***@discussi ons.microsoft.c om> wrote in message | news:A0******** *************** ***********@mic rosoft.com... | > There is no way that I can use something like NFS? | > | > "Ignacio Machin ( .NET/ C# MVP )" wrote: | > | >> Hi, | >> | >> "Arjan" <Ar***@discussi ons.microsoft.c om> wrote in message | >> news:62******** *************** ***********@mic rosoft.com... | >> > Is there a way to connect to the Linux filesystem with C# without using | >> > Samba? | >> | >> | >> You need Samba in the linux server, that's the only way windows can | >> access | >> it as a "regular" network drive. | >> | >> The other way would be using FTP | >> | >> | >> | >> -- | >> Ignacio Machin, | >> ignacio.machin AT dot.state.fl.us | >> Florida Department Of Transportation | >> | >> | >> | | This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Google Mike |
last post by:
After a lot of thought and research, and playing with FreeTDS and
InlineTDS, as well as various ODBC connections, I have determined that
the fastest and cheapest way to get up and going with PHP on Linux,
connecting to MS SQL Server, unless it was already pre-installed by
your Linux installation, is to build your own multithreaded TCP socket
server on Windows and connect to it through the socket API in PHP on
Linux (if you have installed...
|
by: Wayne Happ |
last post by:
I'm a new Oracle user.
I've installed Oracle 9i on a Linux RedHat machine V9.0 and it's running.
I took a Windows XP machine and installed the Oracle client on it along with
PL/SQL developer from All-Around-Software.
I try to connect and I get an error message ORA-12545 "Connect failed
because target host or object does not exist".
|
by: Dan |
last post by:
Hi,
I'm planning to develop a small intranet to provide our organization
with documents online. I've decided to do this using jsp/servlets
using a tomcat server. For an operating system, I have chosen red hat
linux. However, I'd like to keep a small database on a sql server as
a datasource. However, this sql server is already part of our
organization's windows domain. I suspect I'll need to configure samba
so that other terminals...
|
by: kamilla |
last post by:
I have a mysql 3.5 server installed on a suse linux 8.1, with address 10.0.0.100.
Now I want to access that db from a W2K pc, address 10.0.0.200.
I am able to ping 10.0.0.100, but I cannot connect to the db, and get error 2013.
I have tried with MySQL Administrator 1.0 and also with ODBC.
The db on linux has
grant all on *.* to ''@'10.0.0.%'
and also tried
.... to root@10.0.0.200
and others seen on posted messages.
I can access that db...
|
by: Ann Marinas |
last post by:
Hi all,
I would like to ask for some help regarding separating the asp.net
webserver and the sql server.
I have created an asp.net application for a certain company. Initially,
we installed both the iis and sql server in a single machine. Not too
long ago, the machine had some hardware problems, and management has
decided to purchase new servers, for both asp.net and sql server.
| |
by: Mike |
last post by:
I have transferred the data from Access to MySQL using
MySQL's tool. The transfer worked great and saved me a
lot of time (thanks MySQL). Now I'm trying to get the
Access database, or a new access database, to talk across
ODBC and see the data.
I created the DSN through the control panel and it works
without error.
How do I setup Access so it can see the data. The data
|
by: mairhtin o'feannag |
last post by:
Hello,
I'm having problems connecting to my new v9 db box. The pertinent
information is below:
DB2_db2inst1 60000/tcp
DB2_db2inst1_1 60001/tcp
DB2_db2inst1_2 60002/tcp
DB2_db2inst1_END 60003/tcp
|
by: malooga |
last post by:
Hello,
I'm having a problem connecting to DB2 on a remote iSeries host from a Linux server, both of which reside on my company's internal network. I'm using the IBM Linux Client V9.1. When I try to connect to the remote host using a simple connect statement, DB2 hangs.
The connection statement I'm using (I've obviously obscured the parameter names):
$ ./db2 connect to DATABASENAME user USERNAME using PASSWORD;
|
by: orandov |
last post by:
Hi,
I am having a problem connecting my .net applications from the
application server to the database server. When I run the application
from my windows xp (sp2) box it works fine. When I try to connect via
SQL Management Studio to the database server from the application
server I get the same error.
Here is the error:
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |