How to Configure MIME Type Mapping- FileZilla Pro CLI

FileZilla Pro CLI maps a number of file extensions to MIME Types by default.

If you need to modify these mappings change the MIME Types setting.

The MIME type mapping is a list of MIME type to file extension pairs separated by semicolon.

To get the current MIME type mapping:

    set engine.mimetype_mapping

To add a new MIME type mapping, for example, video/mp4 to mp4 extension:

    set engine.mimetype_mapping “application/java-archive=jar;application/javascript=js;
    ˓→application/pdf=pdf;application/rss+xml=rss;application/x-font-ttf=ttf;application/
    ˓→x-shockwave-flash=swf;application/xml=xml xsl;application/xslt+xml=xslt;
    ˓→application/zip=zip;binary/octet-stream=bin exe;image/gif=gif;image/jpeg=jpeg jpg
    ˓→jpe;image/png=png;image/svg+xml=svg;text/css=css;text/html=html htm;text/plain=txt
    ˓→text;video/mp4=mp4″

Tags: , ,