set username and password for wget code example
Example 1: wget with username and password
wget --user user --password pass http://example.com/
Example 2: wget username and password
wget --user=remote_user --ask-password ftp://ftp.example.com/file.ext
Password for user `remote_user': [SECRET (not visible)]