I'm running the apache web server on win2k, and i need a script that allows me to upload files. I also need it to chmod any files that need chmoding, because i can't work out how to chmod files in windows. Thanks!
Registered: 02/19/99
Posts: 3433
Loc: London, UK | Genius: 100%
You don't need to chmod in windows. This script is available at www.cgi-resources.com
Beware: you may need to modifiy it slightly to be NT compatible. If you don't know hoe to set binmode in your scripts, then look for one which is especially for NT.
Thanks for your help guys, but i've already been to that site and have tried all the scripts there. the problem i get is when i go to upload something it give me the following errors in my error.log file
[Sat Apr 29 21:18:25 2000] [error] [client 137.219.134.56] Premature end of script headers: d:/damageincorporated/cgi-bin/fileman/fileman.cgi [Sat Apr 29 21:18:25 2000] [error] [client 137.219.134.56] CGI open of tmpfile: No such file or directory
if anyone knows how i can fix this it'd be much apreciated!