Reflection .NET API
Attachmate.Reflection.Emulation.OpenSystems Assembly / Attachmate.Reflection.Emulation.OpenSystems Namespace / IFileTransfer Interface / FTPGetCurrentHostDirectory Method


In This Topic
    FTPGetCurrentHostDirectory Method
    In This Topic
    Returns 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 FTPGetCurrentHostDirectory() As String
    'Usage
     
    
    Dim instance As IFileTransfer
    Dim value As String
     
    value = instance.FTPGetCurrentHostDirectory()
    string FTPGetCurrentHostDirectory()

    Return Value

    The current host directory.
    See Also