Hi,
I am creating a form that will enable users to upload a file that is too big to email (<10MB) as an easy replacement for ftp functionality.
It is working fine but I need an email to inform me that there is a new upload. If I enable email results, than the file is also attahced to the email that will then bounce because it i too large.
How can I let chronoengine upload the file (to the default directory) and send an email, but then send the email without the uploaded and stored file?
Thanks in advance,
Maickel
I am creating a form that will enable users to upload a file that is too big to email (<10MB) as an easy replacement for ftp functionality.
It is working fine but I need an email to inform me that there is a new upload. If I enable email results, than the file is also attahced to the email that will then bounce because it i too large.
How can I let chronoengine upload the file (to the default directory) and send an email, but then send the email without the uploaded and stored file?
Thanks in advance,
Maickel
Hi MikeyMike,
Try this in the OnSubmit Before box
Bob
Try this in the OnSubmit Before box
<?php
$attachments = array();
?>
Bob
One other issue is that I don't see an error if I try to upload an extension that is not allowed.
Is this an error in RC2. I have another site that is using version 3.0 stable where it does show the error.
the website where it is not working is http://www.epr-technopower.nl/nl/adresgegevens/test
Is this an error in RC2. I have another site that is using version 3.0 stable where it does show the error.
the website where it is not working is http://www.epr-technopower.nl/nl/adresgegevens/test
Hi Maickel,
This could be becasue your template doesn't show system messages. I seem to recall this came up previously - but I'm not certain it was with the file upload errors.
Bob
This could be becasue your template doesn't show system messages. I seem to recall this came up previously - but I'm not certain it was with the file upload errors.
Bob
One other issue is that I don't see an error if I try to upload an extension that is not allowed.
Is this an error in RC2. I have another site that is using version 3.0 stable where it does show the error.
yes its, just found it, I will fix it in RC3 which will be out hopefully by the end of the weekend!
Cheers
Max
This topic is locked and no more replies can be posted.