How to download files with a "#" in file name
Can you paste there the command you ran and the command error output along with the version of zowe CLI you are using (zowe --version)?
This electronic communication and the information and any files transmitted with it, or attached to it, are confidential and are intended solely for the use of the individual or entity to whom it is addressed and may contain information that is confidential, legally privileged, protected by privacy laws, or otherwise restricted from disclosure to anyone else. If you are not the intended recipient or the person responsible for delivering the e-mail to the intended recipient, you are hereby notified that any use, copying, distributing, dissemination, forwarding, printing, or copying of this e-mail is strictly prohibited. If you received this e-mail in error, please return the e-mail to the sender, delete it from your computer, and destroy any printed copy of it.
My Command :
zowe zos-files download all-members "DatasetName" -b -d "DirectoryLocation"
Error Message :
Thanks,
Ajit
Thank you Very much Dan for looking into this . I tried your command as well. But its failing with same error.
My Command :
zowe zos-files download all-members "DatasetName" -b -d "DirectoryLocation"
Error Message :
z/OSMF REST API Error:Rest API failure with HTTP(S) status 404category: 1rc: 4reason: 3message: DatasetName(Error Details:HTTP(S) error status "404" received.Review request details (resource, base path, credentials, payload) and ensure correctness.Protocol: httpsHost: hostPort: portBase Path: basepathResource: /zosmf/restfiles/ds/DatasetName(member1)Request: GETHeaders: [{"X-IBM-Data-Type":"binary"},{"Accept-Encoding":"gzip"},{"X-IBM-Response-Timeout":"500"},{"X-CSRF-ZOSMF-HEADER":true}]Payload: undefined
Thanks,
Ajit
Strange, I just tested and download is fine for all members also one starting with #Op vr 23 jul. 2021 om 18:08 schreef ajit.rsahu via lists.openmainframeproject.org <ajit.rsahu=icloud.com@...>Thank you Very much Dan for looking into this . I tried your command as well. But its failing with same error.
My Command :
zowe zos-files download all-members "DatasetName" -b -d "DirectoryLocation"
Error Message :
z/OSMF REST API Error:Rest API failure with HTTP(S) status 404category: 1rc: 4reason: 3message: DatasetName(Error Details:HTTP(S) error status "404" received.Review request details (resource, base path, credentials, payload) and ensure correctness.Protocol: httpsHost: hostPort: portBase Path: basepathResource: /zosmf/restfiles/ds/DatasetName(member1)Request: GETHeaders: [{"X-IBM-Data-Type":"binary"},{"Accept-Encoding":"gzip"},{"X-IBM-Response-Timeout":"500"},{"X-CSRF-ZOSMF-HEADER":true}]Payload: undefined
Thanks,
Ajit
On Jul 25, 2021, at 11:13 PM, Frans Beyl <frans.beyl@...> wrote:
But then I don't use ml, you might try without it.Op za 24 jul. 2021 om 19:53 schreef Frans Beyl <frans.beyl@...>Strange, I just tested and download is fine for all members also one starting with #Op vr 23 jul. 2021 om 18:08 schreef ajit.rsahu via lists.openmainframeproject.org <ajit.rsahu=icloud.com@...>Thank you Very much Dan for looking into this . I tried your command as well. But its failing with same error.
My Command :
zowe zos-files download all-members "DatasetName" -b -d "DirectoryLocation"
Error Message :
z/OSMF REST API Error:Rest API failure with HTTP(S) status 404category: 1rc: 4reason: 3message: DatasetName(Error Details:HTTP(S) error status "404" received.Review request details (resource, base path, credentials, payload) and ensure correctness.Protocol: httpsHost: hostPort: portBase Path: basepathResource: /zosmf/restfiles/ds/DatasetName(member1)Request: GETHeaders: [{"X-IBM-Data-Type":"binary"},{"Accept-Encoding":"gzip"},{"X-IBM-Response-Timeout":"500"},{"X-CSRF-ZOSMF-HEADER":true}]Payload: undefined
Thanks,
Ajit
The command is the same as you tried but I don't go by API mediation layer, I use zosmf directly with url and port..
zowe zos-files download all-members "datasetname" -H “url zosmf” -P “port zosmf”
node --version
v14.15.4
npm --version
6.14.10
zowe --version
6.31.1
Frans
Could you please share ,how you did it and what command you usedAjitOn Jul 25, 2021, at 11:13 PM, Frans Beyl <frans.beyl@...> wrote:But then I don't use ml, you might try without it.Op za 24 jul. 2021 om 19:53 schreef Frans Beyl <frans.beyl@...>Strange, I just tested and download is fine for all members also one starting with #Op vr 23 jul. 2021 om 18:08 schreef ajit.rsahu via lists.openmainframeproject.org <ajit.rsahu=icloud.com@...>Thank you Very much Dan for looking into this . I tried your command as well. But its failing with same error.
My Command :
zowe zos-files download all-members "DatasetName" -b -d "DirectoryLocation"
Error Message :
z/OSMF REST API Error:Rest API failure with HTTP(S) status 404category: 1rc: 4reason: 3message: DatasetName(Error Details:HTTP(S) error status "404" received.Review request details (resource, base path, credentials, payload) and ensure correctness.Protocol: httpsHost: hostPort: portBase Path: basepathResource: /zosmf/restfiles/ds/DatasetName(member1)Request: GETHeaders: [{"X-IBM-Data-Type":"binary"},{"Accept-Encoding":"gzip"},{"X-IBM-Response-Timeout":"500"},{"X-CSRF-ZOSMF-HEADER":true}]Payload: undefined
Thanks,
Ajit
On Jul 26, 2021, at 5:07 AM, Frans Beyl <frans.beyl@...> wrote:
The command is the same as you tried but I don't go by API mediation layer, I use zosmf directly with url and port..
zowe zos-files download all-members "datasetname" -H “url zosmf” -P “port zosmf”
node --version
v14.15.4
npm --version
6.14.10
zowe --version
6.31.1
Frans
Op ma 26 jul. 2021 om 08:22 schreef Ajit Sahu via lists.openmainframeproject.org <ajit.rsahu=icloud.com@...>:Could you please share ,how you did it and what command you usedAjitOn Jul 25, 2021, at 11:13 PM, Frans Beyl <frans.beyl@...> wrote:But then I don't use ml, you might try without it.Op za 24 jul. 2021 om 19:53 schreef Frans Beyl <frans.beyl@...>Strange, I just tested and download is fine for all members also one starting with #Op vr 23 jul. 2021 om 18:08 schreef ajit.rsahu via lists.openmainframeproject.org <ajit.rsahu=icloud.com@...>Thank you Very much Dan for looking into this . I tried your command as well. But its failing with same error.
My Command :
zowe zos-files download all-members "DatasetName" -b -d "DirectoryLocation"
Error Message :
z/OSMF REST API Error:Rest API failure with HTTP(S) status 404category: 1rc: 4reason: 3message: DatasetName(Error Details:HTTP(S) error status "404" received.Review request details (resource, base path, credentials, payload) and ensure correctness.Protocol: httpsHost: hostPort: portBase Path: basepathResource: /zosmf/restfiles/ds/DatasetName(member1)Request: GETHeaders: [{"X-IBM-Data-Type":"binary"},{"Accept-Encoding":"gzip"},{"X-IBM-Response-Timeout":"500"},{"X-CSRF-ZOSMF-HEADER":true}]Payload: undefined
Thanks,
Ajit
----- Original message -----
From: "Ajit Sahu via lists.openmainframeproject.org" <ajit.rsahu=icloud.com@...>
Sent by: zowe-user@...
To: zowe-user@...
Cc:
Subject: [EXTERNAL] Re: [zowe-user] How to download files with a "#" in file name
Date: Tue, Jul 27, 2021 12:48 AM
Thank you .I tried ,but still not working for me .tried using the below as well as specifying base path and/or user/Pwd ..still same error . On Jul 26, 2021, at 5:07 AM, Frans Beyl <frans.beyl@...> wrote: The command is the same ZjQcmQRYFpfptBannerStartZjQcmQRYFpfptBannerEndThis Message Is From an External SenderThis message came from outside your organization.
Thank you .I tried ,but still not working for me .tried using the below as well as specifying base path and/or user/Pwd ..still same error .On Jul 26, 2021, at 5:07 AM, Frans Beyl <frans.beyl@...> wrote:
The command is the same as you tried but I don't go by API mediation layer, I use zosmf directly with url and port..
zowe zos-files download all-members "datasetname" -H “url zosmf” -P “port zosmf”
node --version
v14.15.4
npm --version
6.14.10
zowe --version
6.31.1
Frans
Op ma 26 jul. 2021 om 08:22 schreef Ajit Sahu via lists.openmainframeproject.org <ajit.rsahu=icloud.com@...>:Could you please share ,how you did it and what command you used
AjitOn Jul 25, 2021, at 11:13 PM, Frans Beyl <frans.beyl@...> wrote:
But then I don't use ml, you might try without it.Op za 24 jul. 2021 om 19:53 schreef Frans Beyl <frans.beyl@...>Strange, I just tested and download is fine for all members also one starting with #Op vr 23 jul. 2021 om 18:08 schreef ajit.rsahu via lists.openmainframeproject.org <ajit.rsahu=icloud.com@...>Thank you Very much Dan for looking into this . I tried your command as well. But its failing with same error.
My Command :
zowe zos-files download all-members "DatasetName" -b -d "DirectoryLocation"
Error Message :
z/OSMF REST API Error:Rest API failure with HTTP(S) status 404category: 1rc: 4reason: 3message: DatasetName(Error Details:HTTP(S) error status "404" received.Review request details (resource, base path, credentials, payload) and ensure correctness.Protocol: httpsHost: hostPort: portBase Path: basepathResource: /zosmf/restfiles/ds/DatasetName(member1)Request: GETHeaders: [{"X-IBM-Data-Type":"binary"},{"Accept-Encoding":"gzip"},{"X-IBM-Response-Timeout":"500"},{"X-CSRF-ZOSMF-HEADER":true}]Payload: undefined
Thanks,
Ajit
Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU
While I am able to get into https://<host>:port , I am yet to get into the whole member GET . I will try it and see what happens .
Thanks,Ajit