Is it possible to change the file_upload filter to upload to a folder 'above the site' in a secure location that is not acessable fromt he web but would be later via FTP? And if so what would the syntax be?
Thank You
Is it possible to change the file_upload filter to upload to a folder 'above the site' in a secure location that is not acessable fromt he web but would be later via FTP? And if so what would the syntax be?
Thank You
I think you are looking for:
http://www.gravityhelp.com/documentation/page/Gform_upload_path
Ok, I know that page, but pardon my lack of php programming experience, but how would I format it for posting to a folder above the site, ie above the public_html folder in my servers case? Can that be done at all?
Sorry, you are correct, the current settings within the path hook wouldn't allow it to be above the url structure of your site. You could using
http://www.gravityhelp.com/documentation/page/Gform_entry_created
or
http://www.gravityhelp.com/documentation/page/Gform_post_submission
Hook in and write your own PHP script to move the file to where you want it to be. The data in the entry would also have to be changed if you wanted to store the upload location anywhere.