Reflection Desktop VBA Guide
Attachmate.Reflection.Objects.Emulation.OpenSystems Library / 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.
    expression.FTPSetCurrentHostDirectory( _
       ByVal hostDirectory As String _
    ) As ReturnCode
    where expression is a variable that represents a FileTransfer Object


    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.

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