FormStates

          Enum 
          Member of  ScriptUtils Use FormStates object 

Description
More about state/result of a form process. See also ScriptUtils.ASPForm.Upload - Monitor and handle upload state/result
Values
fsCompleted = &H0 Form was successfully processed.
fsNotPost = &H1 Request method is NOT post
fsZeroLength = &H2 Zero length request (there are no data in a source form)
fsInProgress = &H3 Form is in a middle of process.
fsNOFRead = &H4 Required number of source fields/bytes was readed (form not completted, see ASPForm method).
fsNone = &H5 Initial form state
fsError = &HA10  
fsNoBoundary = &HB11  Boundary of multipart/form-data is not specified.
fsUnknownType = &HC12  Unknown source form (Content-type must be application/x-www-form-urlencoded or multipart/form-data)
fsSizeLimit = &HD13  Form size exceeds allowed limit (ScriptUtils.ASPForm.SizeLimit)
fsTimeOut = &HE14  Upload time exceeds allowed limit (ScriptUtils.ASPForm.ReadTimeout)
fsNoConnected = &HF15  Client was disconnected before upload was completted.
fsErrorBinaryRead = &H1016  Unexpected error from Request.BinaryRead method (ASP error).
Includes  
'FormStates - begin
Public Const fsCompleted = &H0 'Form was successfully processed.
Public Const fsNotPost = &H1 'Request method is NOT post
Public Const fsZeroLength = &H2 'Zero length request (there are no data in a source form)
Public Const fsInProgress = &H3 'Form is in a middle of process.
Public Const fsNOFRead = &H4 'Required number of source fields/bytes was readed (form not completted, see ASPForm method).
Public Const fsNone = &H5 'Initial form state
Public Const fsError = &HA
Public Const fsNoBoundary = &HB 'Boundary of multipart/form-data is not specified.
Public Const fsUnknownType = &HC 'Unknown source form (Content-type must be application/x-www-form-urlencoded or multipart/form-data)
Public Const fsSizeLimit = &HD 'Form size exceeds allowed limit (ScriptUtils.ASPForm.SizeLimit)
Public Const fsTimeOut = &HE 'Upload time exceeds allowed limit (ScriptUtils.ASPForm.ReadTimeout)
Public Const fsNoConnected = &HF 'Client was disconnected before upload was completted.
Public Const fsErrorBinaryRead = &H10 'Unexpected error from Request.BinaryRead method (ASP error).
'FormStates - end
'FormStates - begin
Public Const fsCompleted As Long = &H0 'Form was successfully processed.
Public Const fsNotPost As Long = &H1 'Request method is NOT post
Public Const fsZeroLength As Long = &H2 'Zero length request (there are no data in a source form)
Public Const fsInProgress As Long = &H3 'Form is in a middle of process.
Public Const fsNOFRead As Long = &H4 'Required number of source fields/bytes was readed (form not completted, see ASPForm method).
Public Const fsNone As Long = &H5 'Initial form state
Public Const fsError As Long = &HA
Public Const fsNoBoundary As Long = &HB 'Boundary of multipart/form-data is not specified.
Public Const fsUnknownType As Long = &HC 'Unknown source form (Content-type must be application/x-www-form-urlencoded or multipart/form-data)
Public Const fsSizeLimit As Long = &HD 'Form size exceeds allowed limit (ScriptUtils.ASPForm.SizeLimit)
Public Const fsTimeOut As Long = &HE 'Upload time exceeds allowed limit (ScriptUtils.ASPForm.ReadTimeout)
Public Const fsNoConnected As Long = &HF 'Client was disconnected before upload was completted.
Public Const fsErrorBinaryRead As Long = &H10 'Unexpected error from Request.BinaryRead method (ASP error).
'FormStates - end
Public Enum FormStates
  fsCompleted = &H0 'Form was successfully processed.
  fsNotPost = &H1 'Request method is NOT post
  fsZeroLength = &H2 'Zero length request (there are no data in a source form)
  fsInProgress = &H3 'Form is in a middle of process.
  fsNOFRead = &H4 'Required number of source fields/bytes was readed (form not completted, see ASPForm method).
  fsNone = &H5 'Initial form state
  fsError = &HA
  fsNoBoundary = &HB 'Boundary of multipart/form-data is not specified.
  fsUnknownType = &HC 'Unknown source form (Content-type must be application/x-www-form-urlencoded or multipart/form-data)
  fsSizeLimit = &HD 'Form size exceeds allowed limit (ScriptUtils.ASPForm.SizeLimit)
  fsTimeOut = &HE 'Upload time exceeds allowed limit (ScriptUtils.ASPForm.ReadTimeout)
  fsNoConnected = &HF 'Client was disconnected before upload was completted.
  fsErrorBinaryRead = &H10 'Unexpected error from Request.BinaryRead method (ASP error).
End Enum 'FormStates
//FormStates - begin
var fsCompleted = 0x0; //Form was successfully processed.
var fsNotPost = 0x1; //Request method is NOT post
var fsZeroLength = 0x2; //Zero length request (there are no data in a source form)
var fsInProgress = 0x3; //Form is in a middle of process.
var fsNOFRead = 0x4; //Required number of source fields/bytes was readed (form not completted, see ASPForm method).
var fsNone = 0x5; //Initial form state
var fsError = 0xA;
var fsNoBoundary = 0xB; //Boundary of multipart/form-data is not specified.
var fsUnknownType = 0xC; //Unknown source form (Content-type must be application/x-www-form-urlencoded or multipart/form-data)
var fsSizeLimit = 0xD; //Form size exceeds allowed limit (ScriptUtils.ASPForm.SizeLimit)
var fsTimeOut = 0xE; //Upload time exceeds allowed limit (ScriptUtils.ASPForm.ReadTimeout)
var fsNoConnected = 0xF; //Client was disconnected before upload was completted.
var fsErrorBinaryRead = 0x10; //Unexpected error from Request.BinaryRead method (ASP error).
//FormStates - end
// FormStates
typedef [helpstring("More about state/result of a form process. See also ScriptUtils.ASPForm.Upload - Monitor and handle upload state/result")]
enum FormStates{
	[helpstring("Form was successfully processed.")]
		fsCompleted = 0x0,
	[helpstring("Request method is NOT post")]
		fsNotPost = 0x1,
	[helpstring("Zero length request (there are no data in a source form)")]
		fsZeroLength = 0x2,
	[helpstring("Form is in a middle of process.")]
		fsInProgress = 0x3,
	[helpstring("Required number of source fields/bytes was readed (form not completted, see ASPForm method).")]
		fsNOFRead = 0x4,
	[helpstring("Initial form state")]
		fsNone = 0x5,
		fsError = 0xA,
	[helpstring("Boundary of multipart/form-data is not specified.")]
		fsNoBoundary = 0xB,
	[helpstring("Unknown source form (Content-type must be application/x-www-form-urlencoded or multipart/form-data)")]
		fsUnknownType = 0xC,
	[helpstring("Form size exceeds allowed limit (ScriptUtils.ASPForm.SizeLimit)")]
		fsSizeLimit = 0xD,
	[helpstring("Upload time exceeds allowed limit (ScriptUtils.ASPForm.ReadTimeout)")]
		fsTimeOut = 0xE,
	[helpstring("Client was disconnected before upload was completted.")]
		fsNoConnected = 0xF,
	[helpstring("Unexpected error from Request.BinaryRead method (ASP error).")]
		fsErrorBinaryRead = 0x10
} FormStates;
Used in
  Other links for FormStates class
ScriptUtilities and Huge ASP file upload classes
      Easy to use, hi-performance ASP file upload component with progress bar indicator. Let's you upload multiple files with size up to 2GB to a disk or database along with another form fields. Works with large posts, any character set (including unicode utf-8). Contains one-click multiple files/folders download with on-the-fly compression (Using BinaryWrite/BinaryRead).
      Hi-performance text file logging for ASP/VBScript/VBA applications. Lets you create daily/weekly/monthly log files with variable number of logged values and extra timing and performance info.
       Lets you work with safearray binary data in VBS/JS. It also enables conversion between binary and String data using several code pages. ZLib compress and uncompress functions. Lets you transfer files using compressed stream from a client to server using IE.
      This library also enables calling of some Kernel and Advapi functions (performance, timing, sleep, configuration ...) and enables native work with INI files.


© 1996 – 2005 Motobit Software, help{at}pstruh.cz, help v. 2.16.14