FormStates | ||
| Enum | ||
| Member of ScriptUtils Use FormStates object |
| fsCompleted = &H0 | 0 | Form was successfully processed. |
| fsNotPost = &H1 | 1 | Request method is NOT post |
| fsZeroLength = &H2 | 2 | Zero length request (there are no data in a source form) |
| fsInProgress = &H3 | 3 | Form is in a middle of process. |
| fsNOFRead = &H4 | 4 | Required number of source fields/bytes was readed (form not completted, see ASPForm method). |
| fsNone = &H5 | 5 | Initial form state |
| fsError = &HA | 10 | |
| fsNoBoundary = &HB | 11 | Boundary of multipart/form-data is not specified. |
| fsUnknownType = &HC | 12 | Unknown source form (Content-type must be application/x-www-form-urlencoded or multipart/form-data) |
| fsSizeLimit = &HD | 13 | Form size exceeds allowed limit (ScriptUtils.ASPForm.SizeLimit) |
| fsTimeOut = &HE | 14 | Upload time exceeds allowed limit (ScriptUtils.ASPForm.ReadTimeout) |
| fsNoConnected = &HF | 15 | Client was disconnected before upload was completted. |
| fsErrorBinaryRead = &H10 | 16 | Unexpected error from Request.BinaryRead method (ASP error). |
'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;