PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

File upload capabilities and questions

  1. Hey guys! Gravity forms is working awesomely on a number of sites I've set up, so first and foremost, thanks!

    I have one client who handles sensitive information via the file upload function and would like to do the following:

    1. Client submits file – information on time, date, ISP, etc. are captured
    2. File formatted – file gets zipped and given the following naming convention – YYYYMMDD.Name.Location.zip
    3. File uploaded into a root folder instead of a specific folder

    Is this something I can make happen with gravity forms or would I be better off with another solution for this?

    Thanks!
    Chris

    Posted 13 years ago on Thursday August 25, 2011 | Permalink
  2. Gravity Forms doesn't currently rename files. Whatever filename the file has when it's uploaded is what it used, unless it's a duplicate and then a number is appended to the end of the name.

    To override the default location for saving file uploads you can write custom code that uses this hook:

    http://www.gravityhelp.com/documentation/page/Gform_upload_path

    Posted 13 years ago on Thursday August 25, 2011 | Permalink