Upload di file sul server con VBScript
<%
'Create upload form
'Using Pure-ASP file upload
Dim Form: Set Form = New ASPForm %><!--#INCLUDE FILE="_upload.asp"--><%
If Form.State = 0 Then
Form.Files.Save "C:\Uploads"
Else
'Handle other form states.
End If
%>
<Body>
<form method=post ENCTYPE="multipart/form-data">
<input type="submit" value="Upload the files >>"><br>
<Div ID=files>
File 1 : <input type="file" name="File1"><br>
File 2 : <input type="file" name="File2">
</Div>
<Input Type=Button Value="+Add a file" OnClick=Expand()>
<Script>
var nfiles = 2;
Function Expand(){
nfiles++;
files.insertAdjacentHTML('BeforeEnd','<BR> File '+nfiles+' : <input type="file" name="File'+nfiles+'">');
}
</Script>
</Body>
La classe _upload.asp con svariate funzioni per la configurazione del caricamento dei file sul server o in locale si può consultare qui: https://www.motobit.com/help/scptutl/lis2.htm