远程文件传输 [英] Remote File Transfer
问题描述
您已创建远程桌面应用程序。它有2个模块,一个是服务器,另一个是客户端(都在局域网中工作)
Hi had created a Remote desktop application. It has 2 modules one is Server and another is Client(both work in lan)
我需要从客户端发送文件到服务器和服务器发送文件到客户端的文件传输协议(这个功能正常工作)
I need to File transfer protocol from both Client sending file to Server and Server sending file to Client (this functionaliity is working fine )
但问题是服务器还需要一个设施,他可以从客户端系统复制文件,甚至没有任何通知给客户
But the problem is server also want a facility where he can Copy files from Client System with out even any notification to Client
这意味着服务器需要一个资源管理器,他可以在其中查看客户端的所有驱动器/文件夹/桌面/文件,并复制或发送文件。
that means server need a explorer thing where he can see all the drives/Folders/Desktop/Files of the Client and copy or send the files.
所以它会非常有用如果你们有人可以帮帮我..紧急。
So it would be very helpful if u guys can help me out..Its urgent.
谢谢......
推荐答案
默认情况下我认为那里在.NET中没有这样的功能。但您可以按照以下方式实现。
By default i think there is no such functionality available in .NET. But you can implement as below.
您可以实现一个可以从客户端检索数据的逻辑。为此,您需要提供一个包含以下详细信息的对象
You can implement a logic which can retrieve data from client to server. To do that you need to provide a object with below details
Drive - >文件夹 - >文件
Drive -> Folder -> File
您可以将此嵌套对象返回到服务器,并且服务器可以在Windows应用程序的树视图中呈现此内容,这可以提供解决方案您正在寻找。
You can return this nested object to Server and Server can render this in a tree view in Windows App which can provide the solution you are looking for.
这篇关于远程文件传输的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!