Page 1 of 1

Php/Mysql/IIS File access and download problems....

Posted: Thu 20. Oct 2005, 01:31
by mbhavana
PHP 5.0.5
IIS 5.1
MySQL 4.1.14
Microsoft Windows XP Professional 2003 SP2

I uploaded a .txt file and when someone else tries to download it, they get the following error:

=============================================
An error (ID:1) occured while trying to download a file of your directory.

Please login again
and try another file.

If you think that this might be a technical problem send an email to the webmaster.

==============================================

On a second try get the following error:

Directory Listing

The Virtual Directory does not allow contents to be listed

==============================================

The above errors lead me to believe that it is an issue with folder permissions.

However I can go change the folder to "Share this folder" on "Default Web Site" in the "Web Sharing" tab of Folder "Properties". Doing this causes a Windows Logon to pop-up when I try to log into the account and even before I download the file.

Which of the following should be checked, if at all?

Access Permissions
[] Read [] Script source access
[] Write [] Directory browsing

Application Permissions
() None
() Scripts
() Execute (includes scripts)

Posted: Sat 5. Nov 2005, 20:06
by Oliver Georgi
I have never tested that platform.

Maybe this is a problem of permissions for your web server. Is everything else working?

Oliver