Solved

C# read/write to Unix file share

Posted on 2010-08-18
2
1,758 Views
Last Modified: 2013-12-17
Can we read/write files to and from Unix file share using System.IO in .NET?
0
Comment
Question by:ppak777
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 7

Accepted Solution

by:
jmiller47 earned 250 total points
ID: 33467015
If it is a samba share and not something like a native NFS mount then yes. It would be no differnt. You would use the full UNC name.
0
 
LVL 3

Assisted Solution

by:pitt7
pitt7 earned 250 total points
ID: 33467377
If you mean by unix file share a NFS export then you can use UNC paths to connect to them if your system supports NFS client. For older windows versions NFS client support is available using SFU (Services For Unix), newer versions have builtin support but must be selected in system control -> "Turn Windows features on or off".
0

Featured Post

Certified OpenStack Administrator Course

We just refreshed our COA course based on the Newton exam.  With 14 labs, this course goes over the different OpenStack services that are part of the certification: Dashboard, Identity Service, Image Service, Networking, Compute, Object Storage, Block Storage, and Orchestration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

632 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question