Delete the File API

<< Click to Display Table of Contents >>

Current:  Data Mart > MPP > Secondary Development 

Delete the File API

Previous pageReturn to chapter overviewNext page

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.