Returns or sets a value that determines whether an FTP object's method calls throw a script error upon failure.
Read-write property
object.FailOnError = [ value ] |
Boolean
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.
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.