FTP_GetErrorNumber

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > FTP (File Transfer Profotol) >

FTP_GetErrorNumber

 

Description

 

Returns the error code set by the last FTP operation.

 

Syntax

 

n = FTP_GetErrorNumber

 

Returns

 

Number.

Negative numbers indicate an error.

Zero or positive numbers indicate a state.

 

Parameters

 

Name

Type

Optional

Meaning





 

Remarks

 

Almost all FTP functions set an internal error code. Use this function to get the last error code set by an FTP function calling.

 

Restrictions

 

See also

 

Examples