0

DLFileEntryLocalServiceUtil.getFileAsStream(...) not working in my server I have s3 configuration for document and media. This method perfectly working without any issue in local server where s3 not configured. Does this require any extra configuration.

Tushar Patel
  • 573
  • 3
  • 17

1 Answers1

2

I basically want to convert DLFileEntry into File so I had used another method.

File file = DLFileEntryLocalServiceUtil.getFile(user.getUserId(),dlFileEntry.getFileEntryId(), dlFileEntry.getVersion(), true);

Tushar Patel
  • 573
  • 3
  • 17