meta data for this page
  •  

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.

Example

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.
Port returns the port number (as a string).
Data returns the content of the internal data buffer.
SessionLog returns the session log data.
LastResponse returns the last response of the FTP server (same as ibec_ftp_LastResponse).

Examples