Re: How to download files with a "#" in file name

Ajit Sahu

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


npm --version


zowe --version



Op ma 26 jul. 2021 om 08:22 schreef Ajit Sahu via <>:
Could you please share ,how you did it and what command you used 

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 <>
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 :

Rest API failure with HTTP(S) status 404
category: 1
rc:       4
reason:   3
message:  DatasetName(
Error Details:
HTTP(S) error status "404" received.
Review request details (resource, base path, credentials, payload) and ensure correctness.
Protocol:  https
Host:      host
Port:      port
Base Path: basepath
Resource:  /zosmf/restfiles/ds/DatasetName(member1)
Request:   GET
Headers:   [{"X-IBM-Data-Type":"binary"},{"Accept-Encoding":"gzip"},{"X-IBM-Response-Timeout":"500"},{"X-CSRF-ZOSMF-HEADER":true}]
Payload:   undefined


Join to automatically receive all group messages.