<< Click to Display Table of Contents >> Delete the File API |
❖Delete the file RemoveFileTask
RemoveGSFileTask task = new RemoveGSFileTask(cloudName);
GNodeResult result = task.exec();
cloudName is the name of cloud file. For example, "testCloud/dd.zb" is the comparative directory under bihome folder.
❖Delete folder RemoveFolderTask
RemoveFolderTask task = new RemoveFolderTask(cloudName);
GNodeResult result = task.exec();
cloudName is the name of cloud file. For example, "testCloud" is the comparative directory under bihome folder.