I run Drupal 5 on a Windows Server 2003, IIS 6.0, PHP 5.2 and MySQL 5.

File upload is not working with default file system settings (file system path : files, temporary directory : files/tmp). These folders exist and the IUSR_server user account used by IIS have full control on these directories.
When I upload files, there is no error but the file are not uploaded in the file system path.

If I look in the system temp directory (c:\windows\temp), I can find temporary files that have been uploaded but not moved to the Drupal files directory. Why are files uploaded in the Windows temp directory and not in the Drupal temporary directory nor in the PHP directory specified with upload_tmp_dir ?

If I enter an absolute path for temporary directory in file system settings (d:\inetpub\wwwroot\mysite\files\tmp), it works.

Comments

robloach’s picture

Version: 5.0 » 5.1

I'm experiencing this with my Windows Server as well and is still persistent in Drupal 5.1.

robloach’s picture

A note that I'm experiencing the same thing with Apache on Windows Server 2003 and PHP 5.

ShutterFreak’s picture

Same problem for me with Apache and Windows Server 2003 (or Windows XP).

I think it may be related to another open jQuery issue, as I can successfully upload only one attachment at a time (without the AJAX magic), the AJAX upload funcitonality is broken (session object overwritten?).

dpearcefl’s picture

Status: Active » Closed (won't fix)

Considering the age of this issue with no responses and that D5 is unsupported, I am closing this issue.