Hello All
You can use DMS_KPRO_READ report to download any DMS/DIR & the files attached in the DMS.
Just use PHIO ID & LOIO ID numbers to download the files.
I have used this & implement in my project & it is working fine.
Let me know if you have any more doubts.
Thanks
Pravin