# AttachmentField preferences

Up to Plone Setup
Configuration
Content Disposition
Choose here the global setting for the content disposition that will be used when downloading a file.
"Inline" means that the content will be displayed inside the browser (if possible, perhaps with pluggins).
"Attachment" means that the browser will ask the user for a filename in order to save the file on the user's file system.
You can test the two methods. Note that, for security reasons, the inline option will not be used for text content types ("text/plain", "text/html" for example).
(Test it)
Storage Backend

Choose the way the data in attachment fields are saved. The showed options depends of what is already installed on your instance.

AttributeStorage: Files are stored in ZODB . Easy to use and Plone default storage option

FileSystemStorage: Files are stored on the filesystem. Faster than AttributeStorage, and reduce ZODB size, but needs the FileSystemStorage product in order to work.

Warning: Switching between options is a sensible operation that can length from minutes to hours if your site contains thousands of files.

Here, we have to add a check box that have to be checked in order to verify that the user has understood what a migration is.
Information
Some handlers are not working properly. Check for erroneous lines in the following table.
Note that affected content can be used as usual, but will not be indexed.

| Name | Mime types | Indexer prog. | Previewer prog.
--- | --- | --- | --- | ---

Test
Attachment File (Required)
Select the file you want to test. Please note that this file WILL NOT be saved on the server.
Validation error output
Attachment Handler (Required)
Select the handler you want to use for this test.
Validation error output