Node:Listing file transfer modes, Previous:Removing a file transfer mode, Up:File Transfer Modes



Listing file transfer modes

The -list command can be used to list a specific file transfer mode to stdout. The --list command can also be used to list all of the file transfer modes in the WebPublish database to stdout.

If a file extension is specified on the command line using the -extension (-e) DATA option then only the file transfer mode for the specified extension will be listed to stdout. If no file extension is specified on the command line then all of the file transfer modes in the WebPublish database will be listed to stout.

The following example will list the file transfer mode that is used for all of the files that have a css extension.

webpublish --list -F mode -e css