dcmsnd

Overview 

This application acts as a Storage SCU to send DICOM objects to a Storage SCP. It loads composite DICOM Object(s) from specified DICOM file(s) or a directory structure and sends them to the specified remote Application Entity. If a directory is specified, all DICOM objects in files under that directory and its sub-directories are sent. If <port> is not specified, DICOM default port 104 is assumed. If no <host> is specified, localhost is assumed.

Usage

dcmsnd [Options] <aet>[@<host>[:<port>]] <file>|<directory>...

Example

dcmsnd DCMRCV@localhost:11112 image.dcm

Opens an association to a local server listening on port 11112 with the called application entity title DCMRCV. Sends the DICOM file image.dcm to the server.

Options

 -acceptTO <ms>             timeout in ms for receiving A-ASSOCIATE-AC, 5s
                            by default
 -async <maxops>            maximum number of outstanding operations it
                            may invoke asynchronously, unlimited by default.
 -bufsize <KB>              transcoder buffer size in KB, 1KB by default
 -connectTO <ms>            timeout in ms for TCP connect, no timeout by
                            default
 -fileref                   send objects without pixel data, but with a
                            reference to the DICOM file using DCM4CHE URI
                            Referenced Transfer Syntax to import DICOM objects
                            on a given file system to a DCM4CHEE archive.
 -h,--help                  print this message
 -highprior                 HIGH priority of the C-STORE operation, MEDIUM
                            by default
 -keypw <password>          password for accessing the key in the
                            keystore, keystore password by default
 -keystore <file|url>       file path or URL of P12 or JKS keystore,
                            resource:tls/test_sys_2.p12 by default
 -keystorepw <password>     password for keystore file, 'secret' by
                            default
 -L <aet[@host][:port]>     set AET, local address and listening port of
                            local Application Entity
 -lowprior                  LOW priority of the C-STORE operation, MEDIUM
                            by default
 -noclientauth              disable client authentification for TLS
 -nossl2                    disable acceptance of SSLv2Hello TLS handshake
 -passcode <passcode>       optional passcode for User Identity
                            Negotiation, only effective with option -username
 -pdv1                      send only one PDV in one P-Data-TF PDU, pack
                            command and data PDV in one P-DATA-TF PDU by default.
 -rcvpdulen <KB>            maximal length in KB of received P-DATA-TF
                            PDUs, 16KB by default
 -reaper <ms>               period in ms to check for outstanding
                            DIMSE-RSP, 10s by default
 -releaseTO <ms>            timeout in ms for receiving A-RELEASE-RP, 5s
                            by default
 -rspTO <ms>                timeout in ms for receiving DIMSE-RSP, 60s by
                            default
 -shutdowndelay <ms>        delay in ms for closing the listening socket,
                            1000ms by default
 -sndpdulen <KB>            maximal length in KB of sent P-DATA-TF PDUs,
                            16KB by default
 -soclosedelay <ms>         delay in ms for Socket close after sending
                            A-ABORT, 50ms by default
 -sorcvbuf <KB>             set SO_RCVBUF socket option to specified value
                            in KB
 -sosndbuf <KB>             set SO_SNDBUF socket option to specified value
                            in KB
 -stgcmt                    request storage commitment of (successfully)
                            sent objects afterwards
 -tcpdelay                  set TCP_NODELAY socket option to false, true
                            by default
 -tls <NULL|3DES|AES>       enable TLS connection without, 3DES or AES
                            encryption
 -truststore <file|url>     file path or URL of JKS truststore,
                            resource:tls/mesa_certs.jks by default
 -truststorepw <password>   password for truststore file, 'secret' by
                            default
 -ts1                       offer Default Transfer Syntax in separate
                            Presentation Context. By default offered with
                            Explicit VR Little Endian TS in one PC.
 -uidnegrsp                 request positive User Identity Negotation
                            response, only effective with option -username
 -username <username>       enable User Identity Negotiation with
                            specified username and  optional passcode
 -V,--version               print the version information and exit