Expand my Community achievements bar.

SOLVED

Upload file to DAM

Avatar

Level 4

Hi,

I need to upload file via file input in page, save it to DAM and store info about this file in DB. I know just how to store the info in the DB so the question is how can I process my file in servlet and save it to DAM?

And another question is - how can I upload file to DAM from local file system(I have a file in servers file system - /home/user/file.txt - and I want to upload it to DAM programmatically).

Thanks for any help!

1 Accepted Solution

Avatar

Correct answer by
Level 8

Please see this article for uploading to the DAM via a servlet: http://helpx.adobe.com/experience-manager/using/uploading-files-aem1.html

View solution in original post

1 Reply

Avatar

Correct answer by
Level 8

Please see this article for uploading to the DAM via a servlet: http://helpx.adobe.com/experience-manager/using/uploading-files-aem1.html