RE: [PHP] PHP 4.0.6 on NT (IIS 4.0) Can't replace uploaded file
| From: | Joe Kaiping | Date: | Mon, 01 Oct 2001 19:40:16 +0000 |
| Subject: | RE: [PHP] PHP 4.0.6 on NT (IIS 4.0) Can't replace uploaded file | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-69482@lists.php.net to get a copy of this message | ||
Sounds like their upload script isn't setting the correct file permissions
when creating the file. Directory permissions don't seem to be a problem
for you.
-Joe2
> -----Original Message-----
> From: Joseph Koenig [mailto:joe@jwebmedia.com]
> Sent: Monday, October 01, 2001 12:38 PM
> To: php-general@lists.php.net
> Subject: [PHP] PHP 4.0.6 on NT (IIS 4.0) Can't replace uploaded file
>
>
> I've got a script on an NT (IIS 4.0) server that uploads a file. When
> the user attempts to replace the uploaded file with a new one via the
> form, the script is generating errors.
>
> Warning: Unable to create
> 'D:/public/HJ/www.h-jenterprises.com/test/pics/catalog/104_2.gif':
> Permission denied in
> D:\public\HJ\www.h-jenterprises.com\test\admin\item_functions.php on
> line 41
>
> Warning: Unable to move 'C:/PHP/uploadtemp\php4F6.tmp' to
> 'D:/public/HJ/www.h-jenterprises.com/test/pics/catalog/104_2.gif' in
> D:\public\HJ\www.h-jenterprises.com\test\admin\item_functions.php on
> line 41
>
> Is there anything I should have their IT guy check as to why
> this script
> can upload, but not replace a file? Thanks,
>
> Joe
>
>