The problem here is that you don't specify a proper target for the destination where you would like to copy the file - therefore the undelying CopyProcess job fails. Instead of 'foo' try setting a an absolute path for example "/tmp/mydir/foo". Then, you should check the type of response the FileSystem copy method returns. It's not a status object but a tuple with the first object in the tuple being the status object. Therefore, your code should look like: ``` status = myclient.copy(remote_file, '/tmp/mydir/foo', force=True) self.assertTrue(status[0].ok) ``` You can always have a look at the examples that are available in the XRootD repository: https://github.com/xrootd/xrootd/tree/master/bindings/python/examples If you want more debug info you can run your script with debug enabled for the xrootd client like this: ```bash XRD_LOGLEVEL=Dump python your_script.py ``` -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/xrootd/xrootd/issues/434#issuecomment-264016144 ######################################################################## 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