Physical file location of Digital content | Community
Skip to main content
srikanthbiradar
Level 2
November 3, 2015
Solved

Physical file location of Digital content

  • November 3, 2015
  • 5 replies
  • 1379 views

Hi Friends,

Could you please let me know where are the DAM assets saved in the file system ? 

For example: I checkin an image say apple_pie.jpeg in DAM(localhost), where is that image file saved in my file system ?

Thanks

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Lokesh_Shivalingaiah

It will be stored as binary. You cannot see it as a physical file

5 replies

Lokesh_Shivalingaiah
Lokesh_ShivalingaiahAccepted solution
Level 10
November 3, 2015

It will be stored as binary. You cannot see it as a physical file

srikanthbiradar
Level 2
November 3, 2015

Thanks Lokesh.

I have few pdfs in DAM. I want to upload them to a cloud. For that, I have to create a file object and use that object in the corresponding method that uploads the physical files to that cloud. I have to pass the file's location as argument to File class. I am passing for example: http://localhost:4508/content/dam/geometrixx/documents/GeoCube_Datasheet.pdf but that does't work.

Existing code works perfectly fine if I give any file from my local file system.

edubey
Level 10
November 3, 2015

When you have file at you local file system, you are able to make it work because its file protocol, but when you have file in aem, to read it you need to follow http protocol. For you it might be localhost host, but for code it an IP / HOST which can be accessed via http protocol. Now if you modify your code to read pdf from url  then I guess you can proceed.

Adobe Employee
November 3, 2015

Srikanth Biradar wrote...

Hi Friends,

Could you please let me know where are the DAM assets saved in the file system ? 

For example: I checkin an image say apple_pie.jpeg in DAM(localhost), where is that image file saved in my file system ?

Thanks

 

 

Hi,

If you want to use a file object, you would need to download the file and then use the downloaded file object [1], unless you can change your code to do it all in memory?

Regards,

Opkar

[1] http://stackoverflow.com/questions/8324862/how-to-create-file-object-from-url-object

RashidJorvee
Level 4
September 29, 2017

All content of DAM stored at path /content/dam in CRXDE.