Storescu stop at non-dicom file

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
zagwin
Posts: 22
Joined: Wed, 2011-03-09, 03:13

Storescu stop at non-dicom file

#1 Post by zagwin »

Dear all,

I used dcmqrscp.exe as the PACS server to receive dicom files from storescu.
I specified a folder which contains many dicom files and ONE non-dicome file, such as:

001.dcm
002.dcm
.....
100.dcm
101.txt
102.dcm
103.dcm
...
200.dcm

dcmqrscp can ONLY receive the 001-100 dicom file, and stop at the 101.txt
and 102-200 dicom files can not be received.

Is this normal? can storescu ignore the 101.txt and upload following dcm file to dcmqrscp?

Thanks a lot!
Matt

J. Riesmeier
DCMTK Developer
Posts: 2517
Joined: Tue, 2011-05-03, 14:38
Location: Oldenburg, Germany
Contact:

#2 Post by J. Riesmeier »

There are multiple ways to solve this:
  • Use storescu with option --read-file-only (+fo).
  • Use storescu with option --no-halt (-nh).
  • Use storescu with option --scan-pattern (+sp) and specify "*.dcm" as the pattern.

Post Reply

Who is online

Users browsing this forum: Baidu [Spider], Google [Bot] and 1 guest