| ASPForm - The ASPForm collection retrieves the values of form elements posted to ASP script by a form using the POST method. ASPForm can process multipart/form-data or application/x-www-form-urlencoded data with length up to 2GB. | |||||||
| FormFields - Contains collection of document fields of files. (Items property, Collection of all form fields (plain form fields and files)) | |||||||
| FormField - One form field. Member of FormFields collection. (Item property, Returns a specific member of a FormFields collection either by position or by key.) | |||||||
| FormFields - Contains collection of document fields of files. (Files property, Collection of all files in the source document.) | |||||||
| FormFields - Contains collection of document fields of files. (Texts property, Collection of all fields except files in the source document.) | |||||||
| Kernel - COM API for calling some of Kernel32 functions. | |||||||
| Process - Process object. Timing informations, priority settings and Ids. (CurrentProcess property, Current process.) | |||||||
| Thread - Thread object. Timing informations, priority settings and Ids. (PrimaryThread property, Primary thread of the process.) | |||||||
| Thread - Thread object. Timing informations, priority settings and Ids. (CurrentThread property, Current thread) | |||||||
| Process - Process object. Timing informations, priority settings and Ids. (Process property, The process of the thread.) | |||||||
| INIFile - Enables read and write specified values into the INI files. |
| Advapi - COM API for logon, impersonate and logoff user. |
| Advapi | COM API for logon, impersonate and logoff user. | |
| ASPForm | The ASPForm collection retrieves the values of form elements posted to ASP script by a form using the POST method. ASPForm can process multipart/form-data or application/x-www-form-urlencoded data with length up to 2GB. | |
| ByteArray | Works with safearray binary data - save/restore binary data from/to a disk, convert to a string/hexstring, codepage/charset conversions, Base64 conversion, etc. | |
| FormField | One form field. Member of FormFields collection. | |
| FormFields | Contains collection of document fields of files. | |
| FormParser | You can parse application/x-www-form-urlencoded and multipart/form-data source stream to collection of form fields. | |
| INIFile | Enables read and write specified values into the INI files. | |
| Kernel | COM API for calling some of Kernel32 functions. | |
| LogFile | Hi-performance text file logging for ASP and ASP.Net, VBScript, VBA, VB5/6, VB and C# applications. Lets you create daily/weekly/monthly log files with variable number of logged values and extra timing and performance info. | |
| Process | Process object. Timing informations, priority settings and Ids. | |
| Thread | Thread object. Timing informations, priority settings and Ids. | |
| ZLib | Implements zlib Compress and Uncompress functions. Lets you compress/uncompress files, or send compressed data over http/https connections. |
| ConvertCodePages | Specifies the CodePage/Charset to -convert between binary data and String data with ByteArray class -accept source form data with ASPForm or FormParser | |
| ConvertTypes | Convert types for conversion functions. | |
| eFormType | Form type for ASPForm and FormParser objects. | |
| FormStates | More about state/result of a form process. See also ScriptUtils.ASPForm.Upload - Monitor and handle upload state/result | |
| LogLineBeginTypes | Defines additional values on a beginning of the log line. | |
| LogLineEncodes | Specifies encoding type for logged values of LogFile class | |
| LogonTypes | Specifies the type of logon operation to perform. | |
| OutputTypes | Define output types for conversion and compress/decompress functions | |
| PriorityClasses | The process’s priority class is one of the following values. | |
| ProcessCreationFlags | Specifies additional flags that control the priority class and the creation of the process. The following creation flags can be specified in any combination, except as noted | |
| ThreadPriorities | Priority values for the thread. | |
| ZLibCompressLevels | Compression levels for the zlib class. Accepts values between 1 and 9. |
| ||
| Very short asp upload code with two source file fields and a description field. | ||
<%
Dim Form: Set Form = CreateObject("ScriptUtils.ASPForm")
If Form.State = 0 Then
Form.Files.Save "C:\Uploads"
Description = Form("Description") 'Do something with <input name=description>
Else
'Handle other form states, errors.
End If
%>
<Body>
<form method="post" ENCTYPE="multipart/form-data">
<input type="submit" value="Upload the files >>"><br>
File 1 : <input type="file" name="File1"><br>
File 2 : <input type="file" name="File2"><br>
Description : <input name="Description">
</form>
</body> |
|