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

FTP_GetNumber

Previous pageReturn to chapter overviewNext page

 

Description

 

Returns a numeric parameter from FTP engine.

 

Syntax

 

n = FTP_GetNumber(lWhat)

 

Returns

 

Numeric

 

Parameters

 

Name

Type

Optional

Meaning

lWhat

Numeric

No

One of the following equates:

%FTP_GET_CONNECT_STATUS

Returns 1 if connected

 

%FTP_GET_FILE_BYTES_RCVD

Returns file bytes received

 

%FTP_GET_FILE_BYTES_SENT

Returns file bytes sent

 

%FTP_GET_LAST_RESPONSE

Returns last (numerical) FTP response

 

%FTP_GET_TOTAL_BYTES_RCVD

Returns total bytes received

 

%FTP_GET_TOTAL_BYTES_SENT

Returns total file bytes sent

 

 

Remarks

 

Restrictions

 

See also

 

Examples