InfoConnect VBA Guide
Attachmate.Reflection.Objects.Emulation.OpenSystems Library / FileTransfer Object / FTPSetCurrentHostDirectory Method
The host directory.
In This Topic
    FTPSetCurrentHostDirectory Method
    In This Topic
    Sets the current host directory used for FTP file transfers.
    Syntax
    expression.FTPSetCurrentHostDirectory( _
       ByVal hostDirectory As String _
    ) As ReturnCode
    where expression is a variable that represents a FileTransfer Object

    Parameters

    hostDirectory
    The host directory.

    Return Value

    One of the following ReturnCode enumerated values.

    Member Description
    Cancelled Cancelled.
    Error Error.
    PermissionRequired Permission is required.
    Success Success.
    Timeout Timeout condition.
    Truncated The text is truncated.

    Remarks
    This method is only valid when InfoConnect is connected to the host FTP server. Use FTPStartServer to connect to the server before using this method.
    See Also