This content has been marked as final. Show 3 replies
Hey I solved this problem!!!!
How did you get the path?
I used the uploadURL.method = URLRequestMethod.POST;
here is the vb script that is called when the request is posted:
' uploadsDirVar = server.mappath("upload")
uploadsDirVar = "c:\uploaded\images"
Dim Upload, fileName, fileSize, ks, i, fileKey
Set Upload = New FreeASPUpload
' If something fails inside the script, but the exception is handled
If Err.Number<>0 then Exit function
SaveFiles = ""
ks = Upload.UploadedFiles.keys
if (UBound(ks) <> -1) then
SaveFiles = "<B>Files uploaded:</B> "
for each fileKey in Upload.UploadedFiles.keys
SaveFiles = SaveFiles & Upload.UploadedFiles(fileKey).FileName & " (" & Upload.UploadedFiles(fileKey).Length & "B) "
SaveFiles = "The file name specified in the upload form does not correspond to a valid file in the system."