Flow/Java Service to look for a folder

Hi frds,

I do have query.

Do we have any service which will look for particluar folder existing or not? And another one… If it is not existing can we create a folder using any service?

Please help.

Thx!

-rpm

Hi,

Their is no such service in wmpublic package, but I am sure it should be in PSUtilities package. If it doesnt exist there, you can create a simple java service which can check if directory exist and if it doesnt exits it create a new one.

File dir= new File(dirName);
if (!dir.exists())
{
dir.mkdirs();
}

Jiten

Jiten,

Thanks for ur help!

-rpm