TStream. SaveToFile (sFName);//save as a file
Has realized the remote copies of a single file,
Now relatively remote set the path of the folder copy to the local, but the use of IdHTTP1. Get parameters using remote path of the folder,
Have an error, can you tell me the masters, you IdHTTP1. Get can realize the folder on copy?
If not, what method is used to implement, can you give a piece of code to learn, thank you
CodePudding user response:
First traversal folder all the files, and then copy one by one,CodePudding user response:
If the server can be deployed your things, it is best to implement protocol to transmit data, such as the remote file flow,CodePudding user response:
IdHTTP1. Get your is submitted to a program on the server, it returns to you, you give the path it understand?You can't GET directly by the program that's terrible!!!!!!