Print

Print


We have a use case where we would like to pipe (compressed/encrypted) data to xrdcopy without going via a local temp file first. While "xrdcopy" can pipe out to STDOUT, it apparently does not support reading from STDIN - could this be changed? (of course, things such as transfer checksumming or preallocating on the receiver won't work).

Tests done:
* cat /etc/group | xrdcopy -d 2  - root://eospps//eos/pps/users/iven/test-stdin
 => gives an empty file on the destination, no error.
*  cat /etc/group | xrdcopy -d 2  /dev/stdin root://eospps//eos/pps/users/iven/test-dev-stdin
xrdcopy: Operation not supported processing /dev/stdin
* cat /etc/group | xrdcp -d 2  - root://eospps//eos/pps/users/iven/test-stdin-xrdcp
xrdcp: Using stdin as a source is disallowed.
* cat /etc/group | xrdcp -d 2  /dev/stdin root://eospps//eos/pps/users/iven/test-dev-stdin-xrdcp
xrdcp: Operation not supported processing /dev/stdin

---
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/issues/190

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1