Node:File Transfer Modes, Next:, Previous:Excluding Synch Paths, Up:Top



File Transfer Modes

WebPublish uses a very simple method for selecting the file transfer mode to use when transferring a file. WebPublish will use binary mode by default. If a shell program is called for the file just before the file is transferred then the file will be transferred in text mode.

If you would like to override the default file transfer mode then you will need to add a record to the mode database file. If a file's extension is listed in the mode database file then the file will be transferred using the extension's associated file transfer mode.

You do not need to specify the name of an account when you add a record to the mode database file. When you override the default file transfer mode, the new mode will be used by all accounts. This means that if the css file extension is listed in the mode database file then all css files that are transferred by WebPublish will be transferred using the css file transfer mode.