Where can I find a C#/.NET NFS implementation?

扶醉桌前 提交于 2019-12-18 13:39:12

问题


Is there any implementation of the NFS protocol written in C# or a good documentation thats easy to read so I can implement my own..

Both server and Client are needed but the client doesn't have to be C#, there must be some thing out there?


回答1:


Assuming you weren't looking at this as a learning experience I would have suggested taking a C++/C implementation and wrapping it via C++/CLI.

However the only mention of an open source windows client for NFS 4 is this project with the financial support of MS and the university who wrote the reference implementation for many other OS's

That that this is their statement of intent and suggests a two year project sorry.




回答2:


Hi you can check at my open source project http://code.google.com/p/nekodrive You can use directly NekoDrive.NFS c# library that wraps my implementation of V2 e V3 NFS Protocol (V4.1 is coming).. It doesn't support the full protocol yet but It works for basic browsing/download/upload functions..

hope this helps




回答3:


You could try porting Alfresco JLAN Server to C#. It's written in Java but the two languages are very similar.

Alfresco JLAN uses a virtual file system interface that allows you to plug in your own file system implementation with the core server handling all of the network protocol exchange between the client and server. JLAN is also the only Java implementation of Window’s CIFS (Common Internet File System), in addition to supporting NFS and FTP.

http://www.alfresco.com/products/aifs/




回答4:


Given that NFS is based on ONC RPC and XDR, I recommend using an XDR implementation for C#, such as RPC.NET.




回答5:


I recommend starting with the latest stable source code of NFS, and then run it from Cygwin (see below). You would then start with a fully-functional well-tested NFS client and server, which you could then tweak as you desire.

Try this site: Cygwin NFS Server HOWTO




回答6:


Here is a remotetea port that seems to work http://sourceforge.net/projects/remoteteanet/




回答7:


These links may help:

The first is a Code Project article describing an implementation of a C# NFS Server

http://www.codeproject.com/KB/IP/NFSServer.aspx

The second is the public github repo. that contains the source

https://github.com/petebarber/NFS




回答8:


I've started an NFS v2 server based on jnfs (a java implementation of an NFS server) in C#.

The project is hosted on github here https://github.com/shellscape/Snarf



来源:https://stackoverflow.com/questions/1234720/where-can-i-find-a-c-net-nfs-implementation

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!