Can I copy a file to another folder under the same rootpath?

Advertisement

Nicki16
Joined:
Posts:
6
Location:
Bangkok

Can I copy a file to another folder under the same rootpath?

Can I copy a file to another folder under the same rootpath?
Ex.
// Source file (remote)
string sourceFilePath = rootPath + "SubA/file1.pdf";
 
// Target folder (remote)
string targetFolderPath = rootPath + "SubB/";
I want to copy file1.pdf from sourceFilePath to targetFolderPath.

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum