ez projects / enhancedezbinaryfile
|UNIX name||Owner||Status||Version||Compatible with|
|enhancedezbinaryfile||Steven E Bailey||stable||4.5||4.x|
The Enhanced eZBinaryfile datatype makes it possible to use the information collector functionality to allow (anonymous) users to send/upload files as attachments. If mail is enabled for the information collector, the file is sent as a multipart MIME attachment.
To receive the binary files by email, a change to the kernel will have to be made (to kernel/content/collectinformation.php).
Several security features have been added:
A list of allowable file types can be defined in the module.ini file to restrict the type of files that can be uploaded.
The upload directory can be changed in an ini setting - so as not to interfere with other uploaded files.
A maximum number of allowed files can be defined so that a file in is deleted before the new one is uploaded.
The path to the newly uploaded file can be displayed to end users based on group membership.