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,