Managing attachments and uploads
The following information can be helpful when managing file types:
- On the appserver, open each iMIS-related web.config file for editing.
- iMIS default location: C:\Program Files\ASI\iMIS\net
- Edit this line to add or remove file types in the value attributes.
<add key="Communities.AllowedUploadFileTypes" value="DOC,PDF,TXT,HTM,HTML,GIF,JPG,PNG,RTF,ZIP,XML"/>
- Refer to the list of the allowable file types that are specified in the web.config file entry.
- Save the web.config file.
- Repeat this process for each iMIS appserver where you want to change the allowable file types.
File Extension |
File Type |
---|---|
AVI |
Audio Visual Interleave |
BMP |
Microsoft device independent bitmap |
DOC |
Microsoft Word Document |
EML |
Outlook Express Electronic Mail |
FLV |
Flash Video File |
GIF |
GIF Image |
HTM |
HTML Page |
HTML |
HTML Page |
JPE |
JPEG Image |
JPEG |
JPEG Image |
JPG |
JPEG Image |
MOV |
QuickTime Movie |
MP3 |
MP3 Audio |
MPG |
MPEG Movie |
|
Adobe PDF File |
PNG |
PNG Image |
PPT |
Microsoft PowerPoint Presentation |
RA |
Real Audio File |
RAM |
Real Audio File |
RPT |
Crystal Report Template |
RST |
SSRS Template |
RTF |
RTF (Rich Text Format) File |
TIF |
TIFF Image |
TIFF |
TIFF Image |
TXT |
Text File |
WAV |
WAV Audio File |
WMV |
Windows Media File |
WPD |
Word Perfect Document |
WRI |
Windows Write Document |
XLS |
Microsoft Excel Workbook |
XML |
XML File |
ZIP |
Zip File |
If your typical uploaded file size in your Resource Library or blog entries for example are larger than 100 MB, you can increase the maximum file size in web.config files associated with iMIS.
- On the appserver, open each iMIS-related web.config file for editing.
- iMIS default location: ~\ASI\iMIS\net
- Locate the
<httpRuntime>
element and modify themaxRequestLength
attribute.<httpRuntime executionTimeout="3600" maxRequestLength="10240" />
- Locate the
<requestfiltering>
element and modify themaxAllowedContentLength
attribute.<requestLimits maxAllowedContentLength="10485760" />
- Save the web.config file.
- Repeat this process for each iMIS appserver where you want greater file sizes for attachments.
Note: If you plan to upload files larger than 10MB, you must increase both the maxRequestLength
and maxAllowedContentLength
values.
- The MPE file type is sometimes used for MPG Video, but that file type is already in use for Mail Process Engine in iMIS. Rename .mpe files to .mpg in order to upload them to Communities.
- When a user attaches an XML file to a post and another user downloads it, the default file-opening behavior varies depending on the browser. In Internet Explorer, the XML file may take over the iMIS session, forcing the user to reconnect to the community through another browser window.
- In order to prevent denial of service attacks, if a user tries to upload a file that is greater in size than the maximum allowed for uploads, the Upload dialog box displays an error. If users report that the Upload dialog box displays an error, check to see if their file exceeds the file size limit.
- Be aware that increasing that value could result in a performance penalty on the webserver if the files being uploaded are too large for the server resources available such as available memory and CPU.
- Users working in the resource library on an iPhone, iPad, or Android cannot Download files. They can, however, Preview files on their devices.