Forum Moderators: open
I have just written a web application in classic ASP to allow users to upload files to their own subfolders on the server. This was written and tested on a Linux Server running Chilisoft so this was dead easy:
<code>
Set fbase = Server.CreateObject("Chili.Upload.1")
fbase.SizeLimit = 100000000
strSentance = fbase.SourceFileName
strSentance = Trim(strSentance)
arrWords = Split(strSentance, "\", -1, 1)
element = UBound(arrWords)
fileName= server.MapPath("../businessballs/" & uid & "/resources/" & arrWords(element))
fileName = Replace(fileName," ","")
fbase.SaveToFile(fileName)
</code>
I am looking for a replacement to the chili.upload.1 part, if anyone can help, that would be great.