Might be more programming question....

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
Airwolfe
Posts: 5
Joined: Tue, 2017-01-24, 18:35

Might be more programming question....

#1 Post by Airwolfe »

Hello,
I got some help with the storescp and storescu tls and got that working now. however Im having issue trying to get storescu in a loop to send and then deleting what was in the folder that was sent correctly. The main problem is items keep coming into the receive folder while another script is deleting the contents of the folder. Anyone have any ideas?

Marco Eichelberg
OFFIS DICOM Team
OFFIS DICOM Team
Posts: 1437
Joined: Tue, 2004-11-02, 17:22
Location: Oldenburg, Germany
Contact:

Re: Might be more programming question....

#2 Post by Marco Eichelberg »

What you are trying to do will indeed require some programming; I don't think you can do that with the existing command line tools and a script/batch file.
It should, however, be rather easy to add a function to storescu (possibly depending on a command line option) that deletes each file
that storescu has successfully transmitted, i.e. after receiving the C-STORE-RSP with success status from the SCP.

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 1 guest