The code, a simple Chili ASP upload file...
PHP Code:
<%
Response.Expires = 0
Set fbase = Server.CreateObject("Chili.Upload.1")
fbase.SizeLimit = 10000
fbase.SaveToFile(Server.mapPath("/") & "/" & "aaaa.dat")
=Server.mapPath("/")
%><br>
Done writing <%=fbase.FileSize%> bytes from user file
<%=fbase.SourceFileName%> (of type <%=fbase.SourceFileExtension%> )
The page says that the file has been written successfully, yet, it is no where to be found on the server. I have just moved to a virtual dedicated server, and this worked fine on a virtual shared. Is there a certain setting I need to change to get it into my directory, please help.