Advanced.mailftp
Contents
Background
The FTP specification dictates that users must give a username and a password when logging in to a server. If a server allows anonymous logins, clients usually log in with the username “anonymous” and a password corresponding to an email address. This preference lets you determine whether to use the default “mozilla@example.com” as the password, or to send the contents of the preference network.ftp.anonymous_password.
Possible values and their effects
True
Send the value of network.ftp.anonymous_password as the password for anonymous logins.
False
Send “mozilla@example.com” as the password for anonymous logins. (Default)
Caveats
- This preference dates to at least 1999, though there was a brief period of time before 2001-09-10 when this preference didn’t function as it should have (see bug 57763).
- Prior to the fix for bug 101027, the default password was simply “mozilla@”, causing errors with some FTP servers that rejected it as an invalid email address. “example.com” was chosen as the domain for the default password because it’s reserved but valid.
UI
Mozilla Suite
A checkbox labeled “Send email address as anonymous FTP password” is located under “Edit → Preferences → Advanced”.
Previous effects
Originally, setting this preference to true would cause Mozilla to use the email address from the mail client portion of the application suite.
First checked in
Present since at least 1999-06-04. Exact checkin date unknown.
Has an effect in
- Netscape (all versions since 6.0)
- Mozilla Suite (all versions)
- Mozilla Phoenix (all versions)
- Mozilla Firebird (all versions)
- Mozilla Firefox (all versions)
- SeaMonkey (all versions)
Related bugs
- Bug 57763 - "send e-mail address as anonymous ftp passwd" doesn't work
- Bug 101027 - Prefs: improve ftp password when "advanced.mailftp"=false
- Bug 196286 - ftp URLs w/"anonymous" user should automatically use anonymous password
- Bug 266835 - Sends wrong FTP password for anonymous:userpasswd@server