File Upload question ...
| From: | Viral Shah | Date: | Sat, 19 Aug 2000 11:16:05 +0000 |
| Subject: | File Upload question ... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-12582@lists.php.net to get a copy of this message | ||
Hi!
I am trying to accomplish file upload using the POST method uploads.
When I was trying to set the path to the directory on the remote server where I have permission, I
get back a "PERMISSION DENIED" response to that directory. I then changed the permissions
to 777 to that directory. After this I was successful in doing the upload. However, I noticed that
the file that was being uploaded had the owner as "NOBODY". This was the reason why my
upload failed in the first attempt. Is there a way to change this "owner" from
"nobody" to my own username? Do we have to do something different using the PHP code so
that I do the file transfer as "myself" as opposed to "nobody"?
I appreciate any help or pointers with respect to this problem.
===
Viral Shah