Hello,
We have been trying to upload some files but have been unable to do so. We have tried to upload pdf, mp4 and zip files but none are working even though when we upload a jpg file it works fine.
Also in a somewhat unrelated note, is there any way that we can store the upload path into a database when the upload is completed?
We have been trying to upload some files but have been unable to do so. We have tried to upload pdf, mp4 and zip files but none are working even though when we upload a jpg file it works fine.
Also in a somewhat unrelated note, is there any way that we can store the upload path into a database when the upload is completed?
Hi lvizca ,
What are your file upload settings?
Yes you can save the upload path into the database. I think that it is saved in $form->files['path'] though I'm not sure if this includes the file name.
If you use my custom Upload Files [GH] action then both the file path and the file url are added to the form data.
Bob
What are your file upload settings?
Yes you can save the upload path into the database. I think that it is saved in $form->files['path'] though I'm not sure if this includes the file name.
If you use my custom Upload Files [GH] action then both the file path and the file url are added to the form data.
Bob
Hey,
Using the Upload Files [GH] action, the settings are:
Enabled: Yes
Files: upload:mp4-jpg-png-pdf-zip
Upload Path: blank (default)
File Name: {name}
Max size in KB: 30000
The following form is used:
textbox: name
file upload: video
submit
This is a form that was created just to try out the upload functionality. On the Form Methos option we have tried File and Post. Also in Form tag attachment we have enctype="multipart/form-data".
Thank you so much for the info on saving the path to the database.
Using the Upload Files [GH] action, the settings are:
Enabled: Yes
Files: upload:mp4-jpg-png-pdf-zip
Upload Path: blank (default)
File Name: {name}
Max size in KB: 30000
The following form is used:
textbox: name
file upload: video
submit
This is a form that was created just to try out the upload functionality. On the Form Methos option we have tried File and Post. Also in Form tag attachment we have enctype="multipart/form-data".
Thank you so much for the info on saving the path to the database.
This topic is locked and no more replies can be posted.