Thank you!
I tried your approach. `storescu` against the
dcmqrsp server worked just as fine. I can see the files in the dicom directory.
However, when I try to retrieve them with:
getscu -c LO...@127.0.0.1:6000 -m StudyInstanceUID=1.2.392.200045.8842.5.999999.20160513.2.265
The server raises:
14:12:55.173 DEBUG - LOCAL<-GETSCU(10) >> 1:C-GET-RQ Dataset receiving...
14:12:55.174 INFO - LOCAL<-GETSCU(10): i/o exception: org.dcm4che3.io.DicomStreamException: 0xFFFEE000 tag value too large, must be less than 2Gib in State: Sta6 - Association established and ready for data transfer
14:12:55.174 INFO - LOCAL<-GETSCU(10): close Socket[addr=/177.105.79.7,port=32198,localport=6004]
14:12:55.176 DEBUG - LOCAL<-GETSCU(10): enter state: Sta1 - IdleI don't get it. That study has only 60Mb.
Also, by connecting to that server from Weasis, It does find the study I sent:

But fails to import:

In this case, the server raises:
14:16:11.162 WARN - LOCAL<-LOCAL(12): Unable to perform sub-operation on association to LOCAL
org.dcm4che3.net.NoPresentationContextException: No Presentation Context for Abstract Syntax: 1.2.840.10008.5.1.4.1.1.4 - MR Image Storage negotiated
at org.dcm4che3.net.Association.pcFor(Association.java:907)
at org.dcm4che3.net.Association.cstore(Association.java:935)
at org.dcm4che3.net.service.BasicRetrieveTask.cstore(BasicRetrieveTask.java:259)
at org.dcm4che3.net.service.BasicRetrieveTask.run(BasicRetrieveTask.java:185)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
14:16:11.162 INFO - LOCAL<-LOCAL(12) << 1:C-GET-RSP[pcid=1, completed=0, failed=140, warning=0, status=a702H
cuid=1.2.840.10008.5.1.4.1.2.2.3 - Study Root Query/Retrieve Information Model - GET
tsuid=1.2.840.10008.1.2 - Implicit VR Little Endian]
14:16:11.162 DEBUG - LOCAL<-LOCAL(12) << 1:C-GET-RSP Command:
(0000,0002) UI [1.2.840.10008.5.1.4.1.2.2.3] AffectedSOPClassUID
(0000,0100) US [32784] CommandField
(0000,0120) US [1] MessageIDBeingRespondedTo
(0000,0800) US [0] CommandDataSetType
(0000,0900) US [42754] Status
(0000,1021) US [0] NumberOfCompletedSuboperations
(0000,1022) US [140] NumberOfFailedSuboperations
(0000,1023) US [0] NumberOfWarningSuboperations
14:16:11.162 DEBUG - LOCAL<-LOCAL(12) << 1:C-GET-RSP Dataset:
(0008,0058) UI [1.2.392.200045.8842.5.999999.20160513.2.325\1.2.392.200045.884
I really appreciate your help.