Home > other >  About the Socket file transfer
About the Socket file transfer

Time:09-23

Now I need to download the server side in all the files in a folder, the idea now is to traverse the download on the server, could you tell me is there a better way, please advise

CodePudding user response:

Server to define a query interface, the client queries folder all the files first, and then returned from the server folder all child file name or the full path to the client, the client receives the folder in the file, download cycle; Query for subfolders, of course, also can do give to go to download, but suggest don't consider, direct filtration, or folders too deep, endless, I don't know will have what problem,
  • Related