ArcPad Scripting Object Model
FailOnError Property
See Also  Send comments on this topic.
FTP Object : FailOnError Property

Glossary Item Box

Description

Returns or sets a value that determines whether an FTP object's method calls throw a script error upon failure.

Property type

Read-write property

Syntax

object.FailOnError = [ value ]

Return Type

Boolean

Remarks

If FailOnError is set to True, then if a method fails it throws a script error.
If FailOnError is set to False, then if a method fails, it returns False (without throwing a script error).
The ErrorCode and ErrorDescription properties can then be queried to retrieve error details.

See Also

© 2012 All Rights Reserved.