• Resolved wemitwqw

    (@wemitwqw)


    Hey,

    Currently, all of the attachments inside a form submission are being saved to the ‘cf7-to-any-api-uploads’ folder inside wp-content. There is no option to disable this behavior.

    I am using the PRO version of the plugin.

    Is this something that can be implemented in the future?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Mayur Prajapati

    (@mayur8991)

    Hello,

    Thank you for using our plugin!

    If you are using the PRO version, there is an option to disable CF7 entries. When you disable it, no form entries or attachments will be saved.

    Hope this helps!

    Thread Starter wemitwqw

    (@wemitwqw)

    Hello Mayur,

    I am using version 4.0.0 of the plugin.

    I tried disabling both CF7 entries and logs in the plugin’s settings, but the attachments are still being saved.

    You can actually see in ‘class-cf7-to-any-api-admin.php’ on line 662 that submission’s attachments are saved locally regardless of whether the entries are enabled or not.

    Plugin Contributor Mayur Prajapati

    (@mayur8991)

    Hello,

    Thank you for your detailed review.

    We will be releasing an updated version soon, which will include a fix for the attachments saving issue along with other improvements.

    Thanks

    Thread Starter wemitwqw

    (@wemitwqw)

    Hey,

    I also noticed that in the same file (on line 677), the IP address of a form submitter is being formatted as an integer. This results in the address being saved only partially – just the first number before the decimal point. For example, if the IP is 111.111.111.111, it only saves ‘111’.

    Since this issue is in the same file, I don’t think starting a whole new thread would be necessary 🙂

    Would it be possible to add an option to switch this off and log the full address of the user? Or, if this is a bug, could you fix it?

    Thanks for the previous answer. I’ll be waiting for the update.

    Plugin Contributor Mayur Prajapati

    (@mayur8991)

    Hello,

    Kindly update to the latest version of the plugin.
    We’ve included several fixes and improvements in this release.

    If you encounter any issues in the future, please don’t hesitate to contact us at support@contactformtoapi.com.

    We are now closing this thread.

    Thank you!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Disable saving of the files attached to a form submisson’ is closed to new replies.