Network hard disk Design

Source: Internet
Author: User
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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.