Expand my Community achievements bar.

How to create a Directory Using Activity\\Service

Avatar

Level 7

Hi,

i am trying to create one Directory using Make Directory service from FileUtilsService.

Here Input is the path of the Directory where i want to create Lets say, i want to create a directory C in B directory which is present in A directory.

Now the input path should be A/B/C.

But when i invoke the service it gives me result as false everytime.

Tell me how do i creat a Directory into existing directory using Make Directory Activity.

3 Replies

Avatar

Level 7

Even i am not able to create directory Tree structure.. please let me know..

Avatar

Level 8

Is there anything in the application server's log?  usually the in-ability to create a directory or a tree is a permissions issue.  That is, you are trying to create a folder in the file system and the user does not have write permissions to the parent.