Discuss this help topic in SecureBlackbox Forum

TElSftpClient.Open

TElSftpClient     See also     


Filter: C#/Java  VB.NET  Pascal  C++  PHP  


Initiates SFTP-connection (when in synchronous mode).

Declaration

[C#/Java]
    bool Open();

[VB.NET]
    Function Open() As Boolean

[Pascal]
    function Open : Boolean;
    procedure OpenSync;

[C++]
    bool Open();

[PHP]
    bool Open()

Return value

    True if operation was completed successfully;
    False otherwise.

Description

    Use this method to initiate SFTP connection.
    Don't invoke this method from TElSSHClient and TElSftpClient event handlers.
    Use this method only for synchronous mode.
    This method must be invoked only after OnOpenConnection event was fired.

See also:     OnOpenConnection    

Discuss this help topic in SecureBlackbox Forum