Web Hosting Talk







View Full Version : Chili Upload Help....Please...


smdawg33
11-17-2003, 08:52 PM
The code, a simple Chili ASP upload file...

<%
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.