Im trying to setup something where the user clicks on a link, and then downloads a file. The file can be any one of 15 differnt file types (.doc, .xls, etc). Im using aspSmartUpload for the download, but the script hangs when I run it.
Do I have to specify the content-type? If so, is there a way I can automatically get it, like by looking at the file name, extension, etc? Im not 100% sure of what my problem is, but I think I have to specify the content type in order to make the download work, unless I put the file in the web root (which I dont want to do)
also, once i do the download, is it possible to then redirect the user to a different screen?
sItemFolderPath = objRS("sItemFolderPath")
sItemFileName = objRS("sItemFileName")
sFilePath = "e:\inetpub\wwwroot\" & sItemFolderPath & sItemFileName
Set MyUpload = Server.CreateObject("AspSmartUpLoad.SmartUpLoad")