Operation: Add File Type / Edit File Type
Description: To Add/Edit File Type. File Type is a grouping of file extensions or MIME headers. 

Sample Configuration
<FileType> <Name>Name</Name> <Template>Blank</Template><!-- If template is selected all extensions & mime header should be added by opcode and if mentioned separatly add them in list --> <FileExtensionList> <FileExtension>file extensions like txt,jpg,gif</FileExtension> <FileExtension>file extensions like txt,jpg,gif</FileExtension> <FileExtension>file extensions like txt,jpg,gif</FileExtension> <FileExtension>file extensions like txt,jpg,gif</FileExtension> </FileExtensionList> <MIMEHeaderList> <MIMEHeader>MIME headers</MIMEHeader> <MIMEHeader>MIME headers</MIMEHeader> <MIMEHeader>MIME headers</MIMEHeader> <MIMEHeader>MIME headers</MIMEHeader> </MIMEHeaderList> <Description>Text</Description> </FileType>



Parameter Mandatory Default Description
NameYes  
Specify a name to identify the File Type Category.
Name confines to:
  • Type is 'SCALAR'.
  • Datatype is 'STRING'.
  • Character not allowed: Comma (,)
  • Maximum characters allowed are 50.
  • UTF-8 character(s) are allowed.
FileExtensionNo  
Enter File Extensions to be included in the Category.
FileExtension confines to:
  • Type is 'ARRAY'.
  • Datatype is 'STRING'.
  • Multiple values are allowed.
MIMEHeaderNo  
Enter MIME Header to be included in the Category.
MIMEHeader confines to:
  • Type is 'ARRAY'.
  • Datatype is 'STRING'.
  • Multiple values are allowed.
DescriptionNo  
Specify File Type Category description.
Description confines to:
  • Type is 'SCALAR'.
  • Datatype is 'STRING'.
  • Maximum characters allowed are 1000.



Operation   Status   Message
Add File Type200
Add File Type500
Add File Type502
Add File Type503
Add File Type505
Edit File Type200
Edit File Type202
Edit File Type500
Edit File Type502
Edit File Type503
Edit File Type505


© Copyright 2019 Sophos Firewall Limited. All rights reserved.
Sophos Firewall is registered trademarks of Sophos Firewall Limited and Sophos Firewall Group. All other product and company names mentioned are trademarks or registered trademarks of their respective owners.
No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording or otherwise unless you are either a valid licensee where the documentation can be reproduced in accordance with the license terms or you otherwise have the prior permission in writing of the copyright owner.