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

FTP_GetErrorNumber

Previous pageReturn to chapter overviewNext page

 

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