On Unix, we can specify the ftp username/password in ~/.netrc file and next time onwards, there is no need to specify username/password while ftping to any machine provided the credentials for that machine exists in ~/.netrc file.
It's very helpful especially if you need to login to multiple machines may times lets say for monitoring purposes.
Can any one please suggest if there is any equivalent of this on Windows?
If you can get away from FTP and use SFTP instead, then you can use public key authentication and store your public key (found at ~/.ssh/id_rsa.pub
) on the server in ~/.ssh/authorized_keys
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With