• Resolved et1302

    (@et1302)


    We are using this database add-on to store the form data in our website’s database which is then linked to another database where we manage everything.

    The question is, how do we retrieve the files, uploaded via the form, to the other database? Then, how do we remove the files after being retrieved?
    Are files are stored in wp-content/uploads/cfdb7_uploads/ permanently? or these are just temporary files?

    Many Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Arshid

    (@arshidkv12)

    Permanently saving in cfdb7_uploads.

    Thread Starter et1302

    (@et1302)

    Thanks a lot for replying,

    this is what we see in the database table for the attachments:

    s:30:”file-employerendorsecfdb7_file”;s:17:”1528390422-1.jpeg”;
    s:24:”file-whycareercfdb7_file”;s:57:”1528390422-10009091-SPAN-TRAINING-DEVELOPMENT-LIMITED.pdf”;
    s:22:”file-whyspancfdb7_file”;s:37:”1528390422-Careers-Fair-form-2018.doc”;
    s:29:”file-qualificationscfdb7_file”;s:56:”1528390422-2017-Competition-rules-and-directions.doc.pdf”;

    from the database, how do we get this data, store it elsewhere and then delete it?

    is there a way of setting the form up to so that it deletes the files in cfdb7_uploads after a while?

    Thanks a lot.

    Plugin Author Arshid

    (@arshidkv12)

    Try will action hook ‘cfdb7_after_save_data’. You will get save data ID. Then retrieve file from table delete file from folder.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘File attachments in WordPress database’ is closed to new replies.