I've worked out that this part of the code saves the files to the server:For Each fileItem In UploadedFiles.Items
Set streamFile = Server.CreateObject("ADODB.Stream")
streamFile.Type = 1
streamFile.Open
StreamRequest.Position = fileItem.Start
StreamRequest.CopyTo streamFile, fileItem.Length
streamFile.SaveToFile path & "testfile.jpg", 2
streamFile.close
Set streamFile = Nothing
fileItem.Path = path & fileItem.FileName
Next
I can preset the name in the code - "testfile.jpg" and it works, but if I try to use request.form("") in place of it, to grab another form field, I get an error saying the request.form object wasn't allowed.