View comments | RSS feed

Changing FTP mappings

The FTPExtensionMap.txt file (Windows) and the FTPExtensionMapMac.txt file (Macintosh) map filename extensions to FTP transfer modes (ASCII or BINARY).

Each line in each of the two files includes a filename extension (such as GIF) and either the word ASCII or the word BINARY, to indicate which of the two FTP transfer modes should be used when transferring a file with that extension. On the Macintosh, each line also includes a creator code (such as DmWr) and a file type (such as TEXT). When you download a file with the given filename extension on the Macintosh, Dreamweaver assigns the specified creator and file type to the file.

If a file that you are transferring doesn't have a filename extension, Dreamweaver uses the BINARY transfer mode.

The following example shows a line (from the Macintosh file) that indicates that files with the extension .html should be transferred in ASCII mode:

HTML DmWr TEXT ASCII

In both the FTPExtensionMap.txt file and FTPExtensionMapMac.txt file (Macintosh), all elements on a given line are separated by tabs. The extension and the transfer mode are in uppercase letters.

To change a default setting, edit the file in a text editor.

To add information about a new filename extension:

  1. Edit the extension-map file in a text editor.
  2. On a blank line, enter the filename extension (in uppercase letters) and press Tab.
  3. On the Macintosh, add the creator code, a tab, the file type, and another tab.
  4. Enter ASCII or BINARY to set an FTP transfer mode.
  5. Save the file.

Comments


John Nagle said on Jul 13, 2007 at 11:02 PM :
Changing FTPExtensionMap.txt worked in Dreamweaver 3, but in Dreamweaver 8 it seems to have no effect. For details, see two reports titled "FTPExtensionsMap.txt not working" in "macromedia.dreamweaver" in netnews.
John Nagle said on Jul 18, 2007 at 2:42 PM :
Further info:
This feature apparently worked in Dreamweaver 3, was broken in Dreamweaver 4, was fixed in Dreamweaver 4.01Update (ref "http://www.adobe.com/go/tn_15356"), and is broken in Dreamweaver 8 and 8.0.2.
John Nagle said on Jul 31, 2007 at 10:36 PM :
Further information: Dreamweaver has TWO copies of this file:

C:\Documents and Settings\[USER NAME]\Application Data\Macromedia\Dreamweaver 8\Configuration

C:\Program Files\Macromedia\Dreamweaver 8\Configuration

The FIRST one seems to be the one actually used to determine the transfer mode.

Ref: "FTPExtensionMap.txt not recognized", answer by TreySelman, 06/02/2006 04:35:07 PM. Dreamweaver General Discussion Forum.

 

RSS feed | Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/dreamweaver/8/extending/02_cus17.htm