My mate and I own a website, and my mate repeatedly needs to upload a single file to the server (because he doesn't know anything about it, I am making a program so that he doesn't have to go on FTP but just run the program and the file will get copied).
I am making a program that copies the file like I said before, but that's done. Now my question is, how can I copy a file that is already on the server to another directory on the server (like backing up the file).
// This is just an example of my real code
if(dbFileExist("Test.txt"))
{
// code to backup file here...
dbFTPPutFile("Test.txt");
} else {
dbText(100,100, "Cannot find file: Test.txt");
}