On 4/1/19 6:30 PM, Adrian Sevcenco wrote: > On 4/1/19 6:07 PM, Adrian Sevcenco wrote: >> On 4/1/19 5:17 PM, Michal Kamil Simon wrote: >>> Hi Adrian, >> Hi! >> >>> Regarding the parsing problem of your URLs, it's not a >>> problem of our implementation. As a metalink is basically >>> an xml file you simply need to escape certain characters >>> or you need to use CDATA. >>> >>> Try something like: >>> >>> <url><*![CDATA[* /your URL with alice token/ *]]>*</url> >> well, i tried :( see >> https://sev.spacescience.ro/adrian/meta/alice_cern.ch_user_a_asevcenc_testfile.meta4 >> >> >> but i get : >> xrdcp -N -p -P -f -v alice_cern.ch_user_a_asevcenc_testfile.meta4 >> testfile_downloaded.txt >> Prepare: [ERROR] Received corrupted data: Malformed or corrupted >> metalink file. >> >>> in your metalink file (it did work for me ;-) >> so, what am i missing? > there where no spaces after CDATA[ and before ]] > so, i can confirm that xrdcp works with meta4 file > but i have problems with client.CopyProcess() > > i do : > process.add_job(url_src["url"], url_dst["url"], force = False, posc = > True, mkdir = True, chunksize = 4194304, parallelchunks = 1, sourcelimit > = 1) so, it seems that the python bindings needs for both source and target to be full paths .. a file name will be not automatically understood as ./file_name (this in contrast with xrdcp where this is possible) With this i can say that i have a working python binding implementation of downloading files from xrootd servers using the meta4 metalink format Thank you! Adrian ######################################################################## Use REPLY-ALL to reply to list To unsubscribe from the XROOTD-L list, click the following link: https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-L&A=1