Node:Changing a file transfer mode, Next:, Previous:Adding a file transfer mode, Up:File Transfer Modes



Changing a file transfer mode

To change a file transfer mode, you must change a record in the mode database file. To change a record in the mode database file, you must specify the file extension to be changed and the new file transfer mode.

The following example will change the file transfer mode that is used for all of the files that are transferred with a css file extension. All files that have a css file extension will be transferred in binary mode.

webpublish --change -F mode -e css -m binary