View previous topic :: View next topic
|
Author |
Message |
Faizanazam
New User
Joined: 06 Apr 2024 Posts: 7 Location: United States
|
|
|
|
Hello Sir,
I am unable to send file using BPXBATC SFTP to remote folder having spaces in between
For Example -
Unable to Send to folder "New Folder"
But if there is no spaces in folder name then files are going successfully , for example "New_Folder"
Please advise on RP, I have tried giving RP under single quotes and doble quotes both.
REMOTEFILENAME=test.txt;
RP=New Folder/;
EOL=crnl;
IMAGE=ascii; |
|
Back to top |
|
|
Joerg.Findeisen
Senior Member
Joined: 15 Aug 2015 Posts: 1329 Location: Bamberg, Germany
|
|
|
|
Please use the Code button for code/data. It's been told a couple of times. |
|
Back to top |
|
|
Faizanazam
New User
Joined: 06 Apr 2024 Posts: 7 Location: United States
|
|
|
|
Hello Sir,
I am unable to send file using BPXBATC SFTP to remote folder having spaces in between
For Example -
Unable to Send to folder "New Folder"
But if there is no spaces in folder name then files are going successfully , for example "New_Folder"
Please advise on RP, I have tried giving RP under single quotes and doble quotes both.
Code: |
REMOTEFILENAME=test.txt;
RP=New Folder/;
EOL=crnl;
IMAGE=ascii; |
|
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2592 Location: Silicon Valley
|
|
|
|
I suppose an actual space is not supported in this context.
I have no idea regarding BPXBATCH, but I have seen hex characters represented in URLs, such as 0x20 or   or something like that. I know that this is a pretty big stretch but maybe worth a try. |
|
Back to top |
|
|
Joerg.Findeisen
Senior Member
Joined: 15 Aug 2015 Posts: 1329 Location: Bamberg, Germany
|
|
|
|
Try apostrophe (') for RP, maybe it works. Also you could try to quote the space only.
|
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2592 Location: Silicon Valley
|
|
|
|
Where can I find documentation for 'rp'?
and can you provide a more complete JCL of what you are trying to do? |
|
Back to top |
|
|
Faizanazam
New User
Joined: 06 Apr 2024 Posts: 7 Location: United States
|
|
|
|
Hi All,
Thanks for the response, Combination of apostrophe (') for RP and quote the spaces worked.
Below is the code for reference -
Code: |
RP="New' 'Folder"/; |
|
|
Back to top |
|
|
|