xrdcp
- pilot.copytool.xrdcp._stagefile(coption, source, destination, filesize, is_stagein, setup=None, **kwargs)[source]
Stage the file (stagein or stageout) :return: destination file details (checksum, checksum_type) in case of success, throw exception in case of failure :raise: PilotException in case of controlled error
- pilot.copytool.xrdcp.copy_in(files, **kwargs)[source]
Download given files using xrdcp command.
- Parameters:
files – list of FileSpec objects
- Raise:
PilotException in case of controlled error
- pilot.copytool.xrdcp.copy_out(files, **kwargs)[source]
Upload given files using xrdcp command.
- Parameters:
files – list of FileSpec objects
- Raise:
PilotException in case of controlled error