# Getting Dicom file paths of study from DCMTK archive

**URL:** https://discourse.itk.org/t/getting-dicom-file-paths-of-study-from-dcmtk-archive/1007
**Category:** Beginner Questions
**Created:** [June 15, 2018, 9:59am UTC](https://discourse.itk.org/t/getting-dicom-file-paths-of-study-from-dcmtk-archive/1007 "2018-06-15T09:59:55Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![benjaminhon](https://discourse.itk.org/user_avatar/discourse.itk.org/benjaminhon/32/83_2.png) [@benjaminhon](https://discourse.itk.org/u/benjaminhon)
#### Post date: [June 15, 2018, 9:59am UTC](https://discourse.itk.org/t/getting-dicom-file-paths-of-study-from-dcmtk-archive/1007/1 "2018-06-15T09:59:55Z")

</div>

Hi all,

Currently, i am trying to download files from a PACS and then open them from ITK. I am starting a DCMQRSCP server, and using MOVESCU to download images into my local DCMQRSCP archive. However, DCMTK stores the images in a flat database with an index.dat file, however i dont know how to even use that index, its not sql?

how do i then get the file list of a study to load into itk without doing another MOVESCU command from my local archive into another folder and loading the images from that folder?

Thanks!
