ibec_ftp_OpenSession

Description

ibec_ftp_OpenSession creates an FTP session object with specified options.

Syntax

 function ibec_ftp_OpenSession(Options : string) : variant;

The ibec_ftp_OpenSession function creates an FTP session object with specified options. It doesn't perform any network operations, just allocates the necessary resources and initializes internal properties. You should use ibec_ftp_Connect functions to connect to the specified server.

Options

HostNameURL of FTP Server
UserNameUser name
PasswordPassword
PortPort number to connect, default value is 25.

UserName and Password can be omitted if the FTP server doesn't require them.

Example

    FTPSession = ibec_ftp_OpenSession('HostName=myftpserver.com; UserName=me; Password=mysecret'); 

See also:
ibec_ftp_CloseSession
ibec_ftp examples

back to top of page
<< ibec_preg_Replace | IBEBlock | ibec_ftp_CloseSession >>