FormStates Enum, Member of ScriptUtils

Member of  ScriptUtils Use FormStates object | Changes | Purchase | Download

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
fsNotStarted = &H6 Upload still not started. Progress info state.
fsEnd = &H7 Form data was stored and upload was finished. Progress info state.
fsError = &HA10  First error code.
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

VBS include

'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 fsNotStarted = &H6 'Upload still not started. Progress info state.
Public Const fsEnd = &H7 'Form data was stored and upload was finished. Progress info state.
Public Const fsError = &HA 'First error code.
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

VB4 include

'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 fsNotStarted As Long = &H6 'Upload still not started. Progress info state.
Public Const fsEnd As Long = &H7 'Form data was stored and upload was finished. Progress info state.
Public Const fsError As Long = &HA 'First error code.
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

VB5 include

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
  fsNotStarted = &H6 'Upload still not started. Progress info state.
  fsEnd = &H7 'Form data was stored and upload was finished. Progress info state.
  fsError = &HA 'First error code.
  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

JScript include

//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 fsNotStarted = 0x6; //Upload still not started. Progress info state.
var fsEnd = 0x7; //Form data was stored and upload was finished. Progress info state.
var fsError = 0xA; //First error code.
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

IDL include

// FormStates
typedef [helpcontext(0x2006D), helpstring("More about state/result of a form process. See also ScriptUtils.ASPForm.Upload - Monitor and handle upload state/result")]
enum FormStates{
	[helpcontext(0x2006D), helpstring("Form was successfully processed.")]
		fsCompleted = 0x0,
	[helpcontext(0x2006D), helpstring("Request method is NOT post")]
		fsNotPost = 0x1,
	[helpcontext(0x2006D), helpstring("Zero length request (there are no data in a source form)")]
		fsZeroLength = 0x2,
	[helpcontext(0x2006D), helpstring("Form is in a middle of process.")]
		fsInProgress = 0x3,
	[helpcontext(0x2006D), helpstring("Required number of source fields/bytes was readed (form not completted, see ASPForm method).")]
		fsNOFRead = 0x4,
	[helpcontext(0x2006D), helpstring("Initial form state")]
		fsNone = 0x5,
	[helpcontext(0x2006D), helpstring("Upload still not started. Progress info state.")]
		fsNotStarted = 0x6,
	[helpcontext(0x2006D), helpstring("Form data was stored and upload was finished. Progress info state.")]
		fsEnd = 0x7,
	[helpcontext(0x2006D), helpstring("First error code.")]
		fsError = 0xA,
	[helpcontext(0x2006D), helpstring("Boundary of multipart/form-data is not specified.")]
		fsNoBoundary = 0xB,
	[helpcontext(0x2006D), helpstring("Unknown source form (Content-type must be application/x-www-form-urlencoded or multipart/form-data)")]
		fsUnknownType = 0xC,
	[helpcontext(0x2006D), helpstring("Form size exceeds allowed limit (ScriptUtils.ASPForm.SizeLimit)")]
		fsSizeLimit = 0xD,
	[helpcontext(0x2006D), helpstring("Upload time exceeds allowed limit (ScriptUtils.ASPForm.ReadTimeout)")]
		fsTimeOut = 0xE,
	[helpcontext(0x2006D), helpstring("Client was disconnected before upload was completted.")]
		fsNoConnected = 0xF,
	[helpcontext(0x2006D), helpstring("Unexpected error from Request.BinaryRead method (ASP error).")]
		fsErrorBinaryRead = 0x10
} FormStates;

Used in

ASPForm.State

Other links for FormStates class

ASP file upload and ScriptUtilities classes

Kernel, ByteArray, Process, Thread, Advapi, INIFile, ZLib, LogFile, ASPForm, FormFields, FormField, FormParser, ProgressInfo

ASP file upload and ScriptUtilities enums

ProcessCreationFlags, ThreadPriorities, PriorityClasses, LogonTypes, ConvertCodePages, OutputTypes, ZLibCompressLevels, ConvertTypes, LogLineEncodes, LogLineBeginTypes, FormStates, eFormType

ScriptUtils

Huge ASP upload is easy to use, hi-performance ASP file upload component with progress bar indicator. This component lets you upload multiple files with size up to 4GB to a disk or a database along with another form fields. Huge ASP file upload is a most featured upload component on a market with competitive price and a great performance . The software has also a free version of asp upload with progress, called Pure asp upload , written in plain VBS, without components (so you do not need to install anything on server). This installation package contains also ScriptUtilities library. Script Utilities lets you create hi-performance log files , works with binary data , you can download multiple files with zip/arj compression, work with INI files and much more with the ASP utility.

© 1996 - 2011 Antonin Foller, Motobit Software | About, Contacts | e-mail: info@pstruh.cz


Other Motobit links:   IISTracer, real-time IIS monitor   ASP file upload - upload files to ASP. 
ActiveX/VBSScript registry editor  ActiveX NT User account manager  Export MDB/DBF from ASP Active LogFile  Email export  ActiveX/ASP Scripting Dictionary object