ibec_ftp_GetProperty

Description

ibec_ftp_GetProperty gets the value of the specified property.

Syntax

 function ibec_ftp_GetProperty(FTPSession : variant; PropertyName : string) : variant;

ibec_ftp_GetProperty returns the value of the specified property of the FTP server object. PropertyName is a name of the property to read. If the property name is unknown the function will return NULL.

The following properties are available for reading:

Host (or HostName)returns the URL of the FTP server name.
User (or UserName)returns the user name.
Pass (or Password)returns the password.
Portreturns the port number (as a string).
Datareturns the content of the internal data buffer.
SessionLogreturns the session log data.
LastResponsereturns the last response of the FTP server (same as ibec_ftp_LastResponse).

Examples

See also:
ibec_ftp_SetProperty
ibec_ftp examples

back to top of page
<< ibec_ftp_LastResponse | IBEBlock | ibec_ftp_SetProperty >>