Forum Moderators: open

Message Too Old, No Replies

chili to MS

         

snowmansmartie

10:35 am on Sep 22, 2006 (gmt 0)

10+ Year Member



Hi Guys,

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.

mattur

10:18 am on Sep 26, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You'll need to change your code to use another non-chili upload component. The most common is AspUpload, but you'll need to check your host has it installed.