Creating folder structure inside temp folder in Liferay 6.2

11 views
Skip to first unread message

nare...@gmail.com

unread,
Jan 28, 2016, 9:56:37 PM1/28/16
to Liferay Savvy
Hi ,

Problem : Not able to create a folder structure in temp folder in liferay 6.2 whereas it can be done in 6.1.

DLAppServiceUtil.addTempFileEntry(long groupId, long folderId, String fileName, String tempFolderName, InputStream inputStream)

I am using the above method in both versions of liferay.
In 6.1, I used to send the tempFolderName as path ( materials/java/threading) and liferay able to create complete folder structure in temp folder according to path i sent.
But the same is not working in 6.2 and throwing the error invalid folder name.

I should be able create the folder structure as we are supporting folder upload.

Please suggest us.

Regards,
Naresh


Reply all
Reply to author
Forward
0 new messages