I need to create a form that allows file attachments. But, I don't want the files on the server, I just want them to go with the form. How do I do this?
I looked at FAQs and searched the forum but couldn't find an answer.
Thanks,
Jose
I looked at FAQs and searched the forum but couldn't find an answer.
Thanks,
Jose
You would have to make the file upload function and email function yourself from scratch in PHP.
Or just upload the files to the server, send them, and periodically delete old files from the folder with a cron job.
Or just upload the files to the server, send them, and periodically delete old files from the folder with a cron job.
CFv5 allows to attach a file to an email without uploading to the server. Add this to the pile of things CFv6 can't do. The more I use CFv6, the less I like it.
Thanks for your reply.
Jose
Thanks for your reply.
Jose
Hi Jose,
I don't think CFv5 can do that - I don't know how you would do it technically. What you can do is upload the file, send the email, then delete the uploaded copy.
Bob
I don't think CFv5 can do that - I don't know how you would do it technically. What you can do is upload the file, send the email, then delete the uploaded copy.
Bob
Hi Bob, maybe I'm confused. My understanding from the forms I've done with CFv5 was always that the file just got attached to the email. Please take a look at this form I did on CFv5 and tell me if the file attachments end up on the server. And if so, where would I find them?
Sorry but there's no way to tell from the front end. You don't even have any debug information displayed.
This topic is locked and no more replies can be posted.
