通过IP网络发送文件,重新命名,删除,移动其他计算机 [英] File sending,renaming,deleting,moving in other compter via IP network

查看:92
本文介绍了通过IP网络发送文件,重新命名,删除,移动其他计算机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的团队,

请使用Vb.Net 2008,如何通过网络在其他计算机上发送,重命名,删除,移动文件.

Dear Team,

Using Vb.Net 2008, please ,how to do files sending,renaming,deleting,moving in other computers through network.

推荐答案

对于该服务,Windows已提供文件共享服务.

http://en.wikipedia.org/wiki/File_sharing [ http://windows.microsoft.com/zh-CN/windows-vista/File-共享必需品 [ ^ ].

在客户端,如果主机的文件共享服务为您提供了对主机的访问权限,则文件系统的共享部分的行为类似于常规文件系统.您可以使用与本地文件系统相同的操作.没有什么可以发展的.您的代码可以执行所有常规文件操作.

FTP服务器提供了另一种服务,请参见 http://en.wikipedia.org/wiki/FTP [ ^ ].

要使用它,您需要安装一个.有很多.要从客户端站点访问FTP,可以使用类System.Net.FtpWebRequest编写软件,请参见 http://www.codeproject.com/search.aspx?doctypeid=1&q= FTP +服务器 [ ^ ].

您还可以使用自己的应用程序级别协议( http://en.wikipedia,实现自己的自定义文件管理服务和客户端代码. org/wiki/Application_layer [ ^ ]),大概基于TCP.

—SA
As to the service, Windows already provided file sharing service.

http://en.wikipedia.org/wiki/File_sharing[^],
http://windows.microsoft.com/en-US/windows-vista/File-sharing-essentials[^].

On a client side, if you are given an access to a host by its file sharing service, the shared part of a file systems behaves like a regular file system. You can use the same operations as with the local file systems. There is nothing to develop. Your code can perform all the regular file operation.

Another kind or service is provided by FTP servers, please see http://en.wikipedia.org/wiki/FTP[^].

To use it, you need to install one. There are many of them. To access FTP from the client site, you can write your software using the class System.Net.FtpWebRequest, please see http://msdn.microsoft.com/en-us/library/system.net.ftpwebrequest.aspx[^].

You can implement FTP server as well. For some available codes, please see:
http://www.codeproject.com/search.aspx?doctypeid=1&q=FTP+server[^].

You can also implement your own custom file management service and client code, with your own application-level protocol (http://en.wikipedia.org/wiki/Application_layer[^]), presumably based on TCP.

—SA


这篇关于通过IP网络发送文件,重新命名,删除,移动其他计算机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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