You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I'm trying to upload some files to my server via command line, a prompt had showed:
The server supports encrypted connections. Do you want to switch to FTP-SSL?
There's an option to dismiss all prompts and warnings with Yes by default: -y.
What about No? I've tried -n but got Unrecognized option.
Futher more, if a command invoke multiple prompts, how to automatically answer No then Yes? For example:
FTP connection opened…
The server supports encrypted connections. Do you want to switch to FTP-SSL? Please contact your web hosting service provider for assistance.
Continue (y) or Change (n): (y/n): n
The certificate for this server has expired. You might be connecting to a server that is pretending to be 10.94.5.5 which could put your confidential information at risk. Would you like to connect to the server anyway? (y/n): y
Something like --dismiss ny needed.
Thanks!
The text was updated successfully, but these errors were encountered:
ylazy
changed the title
[CLI] Dismiss all prompts and warnings with No by default.
[CLI] Dismiss prompts and warnings with different answers
Jan 9, 2025
When I'm trying to upload some files to my server via command line, a prompt had showed:
The server supports encrypted connections. Do you want to switch to FTP-SSL?
There's an option to dismiss all prompts and warnings with
Yes
by default:-y
.What about
No
? I've tried-n
but gotUnrecognized option
.Futher more, if a command invoke multiple prompts, how to automatically answer
No
thenYes
? For example:Something like
--dismiss ny
needed.Thanks!
The text was updated successfully, but these errors were encountered: