Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

In which location are the files saved after uploading in Liferay? [duplicate]

I have made a portlet that uploads a document from a form.

I have tried by making a simple dynamic java project and made a form to upload the document, that document is saved in LiferayWorkspace/.metadata/plugins/.../project/document.docx.

Now I have used this form in the portlet and it saves the document, which works fine, but I was wondering where did it save my uploaded document?

I have searched the tomcat directory and possible areas already.

Also if anyone could tell me where does in liferay 6.1 using "Dynamic Data List" portlet, documents are placed after uploading.

like image 654
adeel khalid Avatar asked Aug 13 '12 21:08

adeel khalid


2 Answers

Liferay has its configuration settings stored in portal-ext.properties which is placed in liferay-portal-tomcat-6.1/liferay-portal-6.1/ directory.

you can change from there as well

#
# FileStore
#
dl.store.file.system.root.dir=${liferay.home}/data/document_library
like image 85
IConfused Avatar answered Nov 15 '22 07:11

IConfused


The default store folder is portal-folder/data/document_library but you can change it by liferay configuration.

like image 21
Mark Avatar answered Nov 15 '22 09:11

Mark