MozillaZine

Advanced.mailftp

From MozillaZine Knowledge Base

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

Related preferences

External links

  • RFC 959 - File Transfer Protocol (FTP)
  • RFC 2606 - Reserved Top Level DNS Names