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.

Error renaming file after upload

  1. Hey all, I'm using this code to rename an uploaded file: http://pastie.org/7902364
    Form ID is 20 and Upload field ID is 5.

    After uploading I get this error: http://pastie.org/7902367

    I guess the string after form ID in the gravity upload folder is the problem (the rename script is a bit old). Any thoughts to make this working? Thanks!

    Posted 10 years ago on Monday May 13, 2013 | Permalink
  2. I found a script here in the support forums where there is an extra addition to the script where you can specify another upload folder. Is that a smart thing to do? Or is it better to keep the default way, provided with Gravity? Hope someone can help me on this, cause not-unique names is giving me hard times with user upload mixups. Thanks!

    Posted 10 years ago on Thursday May 16, 2013 | Permalink