Print

Print


Hi, It's fixed now. If the filenames have spaces the kXR_mv request needs an additional field


-bash-4.1$ davix-ls -l https://littlexrdhttp.cern.ch:1094/ | grep small1
-rwxrwxrwx 0 11 2017-10-04 11:32:14 small1 with spaces

-bash-4.1$ davix-mv -P grid "https://littlexrdhttp.cern.ch:1094/small1%20with%20spaces" https://littlexrdhttp.cern.ch:1094/small1 --trace header
HTTP session to https://littlexrdhttp.cern.ch:1094 begins.

MOVE /small1%20with%20spaces HTTP/1.1
User-Agent: libdavix/0.6.8 neon/0.0.29
Keep-Alive:
Connection: Keep-Alive
TE: trailers
Host: littlexrdhttp.cern.ch:1094
Destination: https://littlexrdhttp.cern.ch:1094/small1

< HTTP/1.1 201 Unknown
< Content-Length: 3
<
-bash-4.1$
-bash-4.1$
-bash-4.1$ davix-ls -l https://littlexrdhttp.cern.ch:1094/ | grep small1
-rwxrwxrwx 0 11 2017-10-04 11:32:14 small1
-bash-4.1$


You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/xrootd/xrootd","title":"xrootd/xrootd","subtitle":"GitHub repository","main_image_url":"https://assets-cdn.github.com/images/email/message_cards/header.png","avatar_image_url":"https://assets-cdn.github.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/xrootd/xrootd"}},"updates":{"snippets":[{"icon":"PERSON","message":"@ffurano in #577: Hi, It's fixed now. If the filenames have spaces the kXR_mv request needs an additional field\r\n\r\n---------------------------------------------------------------\r\n-bash-4.1$ davix-ls -l https://littlexrdhttp.cern.ch:1094/ | grep small1\r\n-rwxrwxrwx 0 11 2017-10-04 11:32:14 small1 with spaces\r\n\r\n-bash-4.1$ davix-mv -P grid \"https://littlexrdhttp.cern.ch:1094/small1%20with%20spaces\" https://littlexrdhttp.cern.ch:1094/small1 --trace header\r\nHTTP session to https://littlexrdhttp.cern.ch:1094 begins.\r\n\u003e MOVE /small1%20with%20spaces HTTP/1.1\r\n\u003e User-Agent: libdavix/0.6.8 neon/0.0.29\r\n\u003e Keep-Alive: \r\n\u003e Connection: Keep-Alive\r\n\u003e TE: trailers\r\n\u003e Host: littlexrdhttp.cern.ch:1094\r\n\u003e Destination: https://littlexrdhttp.cern.ch:1094/small1\r\n\u003e \r\n\r\n\u003c HTTP/1.1 201 Unknown\r\n\u003c Content-Length: 3\r\n\u003c \r\n-bash-4.1$ \r\n-bash-4.1$ \r\n-bash-4.1$ davix-ls -l https://littlexrdhttp.cern.ch:1094/ | grep small1\r\n-rwxrwxrwx 0 11 2017-10-04 11:32:14 small1\r\n-bash-4.1$ \r\n--------------------------------------------------------"}],"action":{"name":"View Issue","url":"https://github.com/xrootd/xrootd/issues/577#issuecomment-414972124"}}} [ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/xrootd/xrootd/issues/577#issuecomment-414972124", "url": "https://github.com/xrootd/xrootd/issues/577#issuecomment-414972124", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } }, { "@type": "MessageCard", "@context": "http://schema.org/extensions", "hideOriginalBody": "false", "originator": "AF6C5A86-E920-430C-9C59-A73278B5EFEB", "title": "Re: [xrootd/xrootd] davix-client fails to follow redirection =\u003e missing urlencoding in xrdhttp-redirection? (#577)", "sections": [ { "text": "", "activityTitle": "**Fabrizio Furano**", "activityImage": "https://assets-cdn.github.com/images/email/message_cards/avatar.png", "activitySubtitle": "@ffurano", "facts": [ ] } ], "potentialAction": [ { "name": "Add a comment", "@type": "ActionCard", "inputs": [ { "isMultiLine": true, "@type": "TextInput", "id": "IssueComment", "isRequired": false } ], "actions": [ { "name": "Comment", "@type": "HttpPOST", "target": "https://api.github.com", "body": "{\n\"commandName\": \"IssueComment\",\n\"repositoryFullName\": \"xrootd/xrootd\",\n\"issueId\": 577,\n\"IssueComment\": \"{{IssueComment.value}}\"\n}" } ] }, { "name": "Close issue", "@type": "HttpPOST", "target": "https://api.github.com", "body": "{\n\"commandName\": \"IssueClose\",\n\"repositoryFullName\": \"xrootd/xrootd\",\n\"issueId\": 577\n}" }, { "targets": [ { "os": "default", "uri": "https://github.com/xrootd/xrootd/issues/577#issuecomment-414972124" } ], "@type": "OpenUri", "name": "View on GitHub" }, { "name": "Unsubscribe", "@type": "HttpPOST", "target": "https://api.github.com", "body": "{\n\"commandName\": \"MuteNotification\",\n\"threadId\": 254834983\n}" } ], "themeColor": "26292E" } ]

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