You can use the EsuApi.createObjectOnPath(...) method to do this. To create a directory make sure that the ObjectPath ends with a '/' otherwise the path is interpreted to be for an object and not namespace
Here is some code in the NewDirectoryAction.java file of the Atmos Object Browser
I found the problem. I noticed in the sample code that the createObjectOnPath() method takes 5 parameters. In my code, the createObjectOnPath() method only accepts 4 parameters. I discovered that both the EsuApi and EsuRestApi declare this method. I was using the wrong one (via UploadHelper).
aashishpatil
2 Intern
•
212 Posts
768
0
Posted July 8th, 2010 11:00
Hi Jason,
You can use the EsuApi.createObjectOnPath(...) method to do this. To create a directory make sure that the ObjectPath ends with a '/' otherwise the path is interpreted to be for an object and not namespace
Here is some code in the NewDirectoryAction.java file of the Atmos Object Browser
http://codesearch.developer.emc.com/kse/entcodespaces/AJcBNg
Thanks,
Aashish