Forum

Thread tagged as: Question, Problem, Forms

File upload path with type file

Hello,

I would like to be able to upload files to a folder on my server. I have a folder called fileuploads outside of my public_html. In my form options I have to specify a file upload path. What should I set as the path? Tried using fileuploads or /fileuploads but it says: The file path /fileuploads is not writable by PHP.

Thanks, Mike

Mike Hendriks

Mike Hendriks 0 points

  • 2 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

It should be the full file system path to fileuploads.

Hi Drew,

The folder structure is as follows: / domains / [my.domain] / fileuploads. When using /domains/[my.domain]/fileuploads I get the same error in Perch.

Hussein Al Hammad

Hussein Al Hammad 105 points
Registered Developer

Hello Mike,

If you go to Settings > Diagnostics, your DOCUMENT_ROOT path should be listed there.