Thread Starter
Paul
(@pdwiens)
Update – Assuming: $uploadDir = /root/path_to_uploadFolder
I was able to find the correct path for $uploadDir by replacing “root” with the “absolute hosting path”:
/home/content/**/********/html/
(where the “*”s are numbers identify my website / account).
I found the “absolute hosting path” by logging in to my web server.
Thread Starter
Paul
(@pdwiens)
@msimpson – Any advice please??
When I set $uploadDir like this:
/root/stage/wp-content/uploads/formAttachments/
The error is: [function.copy]: failed to open stream: Permission denied
When I set $uploadDir like this:
/stage/wp-content/uploads/formAttachments/
The error is: [function.copy]: failed to open stream: No such file or directory
Thank you very much!
Paul