From: Stephen Smith Date: Mon, 2 Aug 2021 16:38:59 +0000 (-0400) Subject: 17526: Remove filename placeholder from webdav dialog curl command X-Git-Tag: 2.3.0~12^2 X-Git-Url: https://git.arvados.org/arvados-workbench2.git/commitdiff_plain/b6a0a363d77d17455aab16e09eeb67b9f8067843 17526: Remove filename placeholder from webdav dialog curl command Also add a note to add filenames at the end of the curl URL Arvados-DCO-1.1-Signed-off-by: Stephen Smith --- 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..8e9edac1 100644 --- a/src/views-components/webdav-s3-dialog/webdav-s3-dialog.tsx +++ b/src/views-components/webdav-s3-dialog/webdav-s3-dialog.tsx @@ -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. +

    +