Variable: ange-ftp-default-user
ange-ftp-default-user is a customizable variable defined in
ange-ftp.el.gz.
Value
nil
Documentation
User name to use when none is specified in a file name.
If non-nil but not a string, you are prompted for the name.
If nil, the value of ange-ftp-netrc-default-user is used.
If that is nil too, then your login name is used.
Once a connection to a given host has been initiated, the user name
and password information for that host are cached and reused by
ange-ftp. Use M-x ange-ftp-set-user (ange-ftp-set-user) to change the cached values,
since setting ange-ftp-default-user directly does not affect
the cached information.
Source Code
;; Defined in /usr/src/emacs/lisp/net/ange-ftp.el.gz
(defcustom ange-ftp-default-user nil
"User name to use when none is specified in a file name.
If non-nil but not a string, you are prompted for the name.
If nil, the value of `ange-ftp-netrc-default-user' is used.
If that is nil too, then your login name is used.
Once a connection to a given host has been initiated, the user name
and password information for that host are cached and reused by
ange-ftp. Use \\[ange-ftp-set-user] to change the cached values,
since setting `ange-ftp-default-user' directly does not affect
the cached information."
:group 'ange-ftp
:type '(choice (const :tag "Default" nil)
string
(other :tag "Prompt" t)))