Ask Password and Username
Brought to you by:
rumpeltux
Hi all, wput is the great command-line file uploading program i've ever seen. But there is too big problem. When we upload, we must write username and password. Problem is it. All commands which are written are logged by bash in the ~/.bash_history. Someone could want to read bash_history and see our username and password. I dont want it :) Wput should ask us -like an ftp command- if we don't specify a username or password in the string.
Regards,
Eren Türkay <turkay [dot] eren [at] gmail [dot] com
Logged In: YES
user_id=618386
Originator: NO
Hello Eren, generally you're right that asking a user for login/password would be a useful feature, but there's another, even better solution to your problem.
Since version 0.6 ~/.netrc file is supported. You are expected to put your login/password into this file in your home directory and disable even read access to this for everybody accept yourself. See the manual to ftp command for .netrc format description.
Logged In: NO
seconded, this is an important feature. maybe this should be implemented as a switch, like mysql -p switch which is non interactive if not supplied (current wput behavior) and interactive if supplied