I am not familiar with network programming, and I only know a little about network communication. I wonder if the design method is feasible.
1. Data Interaction Between the server and the client
Because remoting transmission is slow, we initially want to use socket for data communication.
In addition, the communication data between the customer and the server is large and complex, so it is not suitable to use byte for frequent interaction. For example, if the client user registration information is sent to the server, I want to first generate an XML file containing user information, then, the file is transmitted to the server through the socket. After the transfer, the newly created XML file is deleted.
2. Display Server data on the client
You can use Treeview to display the folder and file list. Each folder is a node and can be implemented through a GUI. The problem is how to transmit the data scanned by the server to the client, make the client correctly display the file list.
3. How to share files
The storage path of the server user file is related to the user ID. For example, if the user ID is 00001, the storage path of the user file is the root directory/0/0/0/0/1.
The initial idea is to create a file to save the path of the shared file.
The idea is too naive. I also hope that experts can provide guidance.