I haven't found the correct way to do this. I could recreate the file and upload it with the new name, and then I would just delete the file with the old name, but this doesn't seem to be the best way.
You can do something like this
NSString *fromPath = <old_path>
NSString *toPath = <new_path>
BRestClient *dbClient = [[DBRestClient alloc] initWithSession:[DBSession sharedSession]];
[dbClient moveFrom:fromPath toPath:toPath];
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.