Instead of storing secret ( password ) in .netrc file, can we get it from console? The logic could be: If configured in .netrc file, then use it; else: prompt and read from console That will increase the security Many thanks.