From b6a0a363d77d17455aab16e09eeb67b9f8067843 Mon Sep 17 00:00:00 2001 From: Stephen Smith Date: Mon, 2 Aug 2021 12:38:59 -0400 Subject: [PATCH] 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 --- .../webdav-s3-dialog/webdav-s3-dialog.tsx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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. +

    + -- 2.30.2