Home |  About us | Downloads | Support | Contact Us
Thin Upload
Sliced Upload
Thin Image
File Putter
Thin FTP Upload
Thin Upload Pro
 
Features
 
Documentation
FAQ
 
Store
 

Upload Filter

CONFIGURATION

The next section is used to configure client side filtering.

Allowed Types

Enter a comma separated list of file extensions in the allow_types field. The applet will refuse to go ahead with the upload if any of the selected files do not match the list of extensions. Please use only lower case extensions. The applet will test for both cases as well as mixed case. The default behaviour of the applet when it encounters an unwanted file can be changed by editing the filter_action property.

Example

allow_types=jpg,gif,png,tif,xcf,psd

Filter Action

The filter_action property tells the applet what action to take if it encounters a file type that is not listed in the allow_types parameter. If you enter a value of 'reject' here the applet will refuse to go ahead with the file upload. Enter any other value and the applet will silently ignore the offending files. This setting takes effect only if the allow_types property is set

Example

filter_action=reject

The reject_message will be shown when the user attempts to upload files that should not be allowed and the filter_action is set to reject. If you enter a text message here it will be displayed as a popup. A URl, will result in the a page being loaded inside the applet.

Example

reject_message=http://upload.thinfile.com/demo/reject.html
 

Copyright 2005 - 2008 Thin File (Private) Limited. All Rights Reserved.

Privacy Policy   |   Terms Of Use