Reflection .NET API
Attachmate.Reflection.Emulation.OpenSystems Assembly / Attachmate.Reflection.Emulation.OpenSystems Namespace / IFileTransfer Interface / FTPSetCurrentHostDirectory Method
The host directory.


In This Topic
    FTPSetCurrentHostDirectory Method
    In This Topic
    Sets the current host directory used for FTP file transfers. 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.
    Syntax
    'Declaration
     
    
    Function FTPSetCurrentHostDirectory( _
       ByVal hostDirectory As String _
    ) As ReturnCode
    'Usage
     
    
    Dim instance As IFileTransfer
    Dim hostDirectory As String
    Dim value As ReturnCode
     
    value = instance.FTPSetCurrentHostDirectory(hostDirectory)
    ReturnCode FTPSetCurrentHostDirectory( 
       string hostDirectory
    )

    Parameters

    hostDirectory
    The host directory.
    See Also