在LAN上处理文件 [英] Working with Files on LAN

查看:75
本文介绍了在LAN上处理文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的所有人,

我在p.c上有一个序列化XML文件的列表.可以作为我在wpf中创建的软件的数据库.

该项目在独立环境中运行良好.
我希望它可以在LAN上运行.
意味着文件驻留在计算机上,客户端可以通过LAN使用它.

我将这些文件存储在%appdata%

请指教.

在此先谢谢您.

Dear All,

I have a List of Serialized XML file on p.c. that works as Database for my Software which i have created in wpf.

This project is working well on Standalone environment.
I want this to run on LAN.
Means files resides on a machine and client can use this from LAN.

I stored these file in %appdata%

Please advise.

Thanks in advance.

推荐答案

如果要将文件存储在网络驱动器上,应该有任何问题.
如果您的本地计算机运行的是Vista或7,则在允许应用程序创建文件的位置上存在一些限制.该应用程序只能使用ProgramData和AppData \ Local等文件夹(取决于本地策略).映射的网络驱动器应该可以.

祝你好运!

如果您的问题确实与如何进行服务器/客户端设置有关,则应进行说明.
If you want to store your files on a network drive, there should be any problems.
If your local machine runs Vista or 7, there are some restrictions on where an applications is permitted to create files. The application can only use such folders as ProgramData and AppData\Local (depending on local policy). Mapped network drives should be ok.

Good luck!

If your question really is about how to make a server/client setup, then you should clarify.


这篇关于在LAN上处理文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆