X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/41a579060898b29e6d50000e6f95c93d97a7a433..ef8180fa2f0b90b1656b1d8c7ef12bc6ea028a0a:/src/views-components/webdav-s3-dialog/webdav-s3-dialog.tsx diff --git a/src/views-components/webdav-s3-dialog/webdav-s3-dialog.tsx b/src/views-components/webdav-s3-dialog/webdav-s3-dialog.tsx index 49283813..a32044a7 100644 --- a/src/views-components/webdav-s3-dialog/webdav-s3-dialog.tsx +++ b/src/views-components/webdav-s3-dialog/webdav-s3-dialog.tsx @@ -79,7 +79,7 @@ const mountainduckTemplate = ({ Port ${(cyberDavStr.split(':')[2] || '443').split('/')[0]} Username - ${username}${isValidIpAddress(collectionsUrl.replace('https://', ``).split(':')[0])? + ${username}${isValidIpAddress(collectionsUrl.replace('https://', ``).split(':')[0]) ? ` Path /c=${uuid}` : ''} @@ -120,8 +120,8 @@ export const WebDavS3InfoDialog = compose( } else { winDav = new URL(props.data.downloadUrl); cyberDav = new URL(props.data.downloadUrl); - winDav.pathname = `/by_id/${props.data.uuid}`; - cyberDav.pathname = `/by_id/${props.data.uuid}`; + winDav.pathname = `/c=${props.data.uuid}`; + cyberDav.pathname = `/c=${props.data.uuid}`; } cyberDav.username = props.data.username; @@ -148,7 +148,7 @@ export const WebDavS3InfoDialog = compose( } const wgetCommand = `wget --http-user=${props.data.username} --http-passwd=${props.data.token} --mirror --no-parent --no-host --cut-dirs=0 ${winDav.toString()}`; - const curlCommand = `curl -O -u ${props.data.username}:${props.data.token} ${winDav.toString()}`; + const curlCommand = `curl -O -u ${props.data.username}:${props.data.token} ${winDav.toString()}`; return -

Gnome

+

GNOME

  1. Open Files
  2. Select +Other Locations
  3. @@ -278,6 +278,11 @@ export const WebDavS3InfoDialog = compose( lines={[curlCommand]} /> +

    + Note: This curl command downloads single files. + Append the desired filename to the end of the URL. +

    + @@ -287,7 +292,7 @@ export const WebDavS3InfoDialog = compose( color='primary' onClick={props.closeDialog}> Close - +
;