Rename file or folder not working for SD card using C/C++
Posted: Sat Sep 08, 2018 2:59 pm
Hi,
//int rc = rename("/sdcard/myfolder/", "/sdcard/myfolder2/");
int rc = rename("/sdcard/foo.txt", "/sdcard/foo2.txt");
I get rc =-1
Any idea?
//int rc = rename("/sdcard/myfolder/", "/sdcard/myfolder2/");
int rc = rename("/sdcard/foo.txt", "/sdcard/foo2.txt");
I get rc =-1
Any idea?