SearchigPerl has asked for the wisdom of the Perl Monks concerning the following question:
Hi fellow monks,
I am running a script uploading files to my webspace as long as a certain filesize is not exceeded.
In case the file is larger, I want the script to prompt for a password in order to decide wether or not to abort the upload.
My Problem is that STDIN is not pointing to my keyboard but to the server's STDIN...
How to get around that Problem ? Hint: Term::Keys is not installed in the webserver
I am running a script uploading files to my webspace as long as a certain filesize is not exceeded.
In case the file is larger, I want the script to prompt for a password in order to decide wether or not to abort the upload.
My Problem is that STDIN is not pointing to my keyboard but to the server's STDIN...
How to get around that Problem ? Hint: Term::Keys is not installed in the webserver
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: retrieving users input Form the keyboard while perl is running in the remote webserver
by marto (Cardinal) on Apr 09, 2019 at 20:04 UTC | |
by SearchigPerl (Acolyte) on Apr 09, 2019 at 20:18 UTC | |
by marto (Cardinal) on Apr 09, 2019 at 20:29 UTC | |
by SearchigPerl (Acolyte) on Apr 09, 2019 at 20:52 UTC | |
by marto (Cardinal) on Apr 09, 2019 at 21:23 UTC | |
|
Back to
Seekers of Perl Wisdom