Reputation: 73
To move folder "aze" to folder "log" and rename it "qsd" in the same local disk, I used :
rename("rename/aze", "D:/log/qsd");
But When I try to move to "C:/test/uploads/qsd" It doesn't work :
rename("rename/aze", "C:/test/uploads/qsd");
My server is in "D" disk.
Upvotes: 0
Views: 69
Reputation: 73
It looks like it's not possible, so I copy the folder in the destination path and then, delete it in the source path.
Upvotes: 1