Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

Nicki16

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.