Re: An FTP Module for ImpressCMS

Posted by Will on 1286391071
I would think it would be easier to add in the SolmetraUploader.php file as opposed to the config file - this way you can just do a simple mimetype array and check against the upload - then return an error if the mimetypes do not match.

This seems like it would be more practical, and more secure method - but I have not attempted to use solmetra yet - I wish I had know about it before buying multipow - I might have saved my company 150 bucks...

One thing I should mention is that the download link that is sent in the mailer uses the uploaders api to return the array of file names - you will need to rewrite this to use solmetras api instead. Check out the gatherUploadedFiles() reference in their docs.

This Post was from: https://www.impresscms.org/iforum/viewtopic.php?topic_id=4480&post_id=40158