Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

indefinite progress bar when name typo in zowe zos-ftp download data-set #143

Closed
ATorrise opened this issue Oct 19, 2023 · 1 comment · Fixed by #142
Closed

indefinite progress bar when name typo in zowe zos-ftp download data-set #143

ATorrise opened this issue Oct 19, 2023 · 1 comment · Fixed by #142
Labels
bug Something isn't working

Comments

@ATorrise
Copy link
Contributor

Describe the bug

Issue is being opened after an internal customer report.

Customer accidentally entered the smiley face (ctrl-^B) into the command. Found that the command doesn't check for characters like emojis and therefore loops on the loading bar indefinitely. Had to exit with CRTL+C.

C:\Users\<USERINFO>\Test4z_test>zowe zos-ftp download data-set <FAKEDATASET> -f JOB52576.txt^B
Error: ENOENT: no such file or directory, open 'C:\Users\<USERINFO>\Test4z_test\JOB52576.txt☻'
Command Error:
ENOENT: no such file or directory, open 'C:\Users\<USERINFO>\Test4z_test\JOB52576.txt☻'
Imperative encountered an unexpected exception
Command entered: "zowe zos-ftp download data-set <FAKEDATASET> -f JOB52576.txt☻"
Use "zowe zos-ftp download --help" to view groups, commands, and options.
Error Details:
ENOENT: no such file or directory, open 'C:\Users\<USERINFO>\Test4z_test\JOB52576.txt☻'
 __________| 0%  o | Starting transfer...

Expected and actual results
There should be a thrown error indicating to user that their file name is invalid

Describe your environment
@zowe/zos-ftp-for-zowe-cli version  2.1.3

@ATorrise ATorrise added the bug Something isn't working label Oct 19, 2023
@github-actions
Copy link

Thank you for creating a bug report.
We will investigate the bug and evaluate its impact on the product.
If you haven't already, please ensure you have provided steps to reproduce the bug and as much context as possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant