Thanks
]]>I have tried using the wp_handle_upload but this fails giving error: “specified file failed upload test”.
I was wondering if anyone knows a way to save and uploaded file from the CF7 form and the path to that file once saved.
Thanks for any help you can give.
Ian
]]>I am writing something to send invoices throw FTP. But I don’t find those PDF files.
I guess they are generated on the fly and not save, then how can I generate them, write them in one file, send them twrow FTP and delete it ?
Thanks
]]>So how can I overwrite the saving of different dimensions (like, filename-…X…)
]]>I have updated to the latest CF7 version and now my “save on server” hack doesn’t work anymore. The file upload feature works as expected, a file is attached to an email. But in my case I like to have the file not to be deleted from the server
I noticed modules/file.php has been rewritten, amongst other files.
Anyway, in the past I just out commented
//@unlink( $dir . $file );
on line 346 in file.php
Now with the latest file.php I have tried to out comment
//wpcf7_rmdir_p( path_join( $dir, $file ) );
on line 391 in file.php
also I tried to outcomment line 172 in includes/submission.php
//$this->remove_uploaded_files();/
without any luck?
What could be a solution to have the uploaded file stored in the upload folder
Disclaimer: I am aware of the security risk by saving a file on the server as Takayuki. But in this case I have only trusted users and I am on localhost network.
[EDIT] A nicer way would be a function hook where we copy the uploaded file to a specified destination before deleting. So I don’t have to alter the CF7 sourcecode
https://www.ads-software.com/plugins/contact-form-7/
]]>Is it possible to have contact form 7 send an ’email’ to a folder?
That is, specify a folder on the wp server ( or create one for each email ) where any attachment and a text file of the email are saved??
if so – how!?
https://www.ads-software.com/extend/plugins/contact-form-7/
]]>