InfoConnect for Unisys
Attachmate.Reflection.Emulation.IbmHosts Namespace / IFileTransfer Interface / XfrLocalFile Property

In This Topic
    XfrLocalFile Property
    In This Topic
    Returns or specifies a default PC file or files for the PC to receive (for transfers from the host), or for the host to receive (for transfers to the host).
    Property XfrLocalFile As String
    Dim instance As IFileTransfer
    Dim value As String
    instance.XfrLocalFile = value
    value = instance.XfrLocalFile
    string XfrLocalFile {get; set;}
    This exception is thrown when you modify an InfoConnect property that has been secured via the Permissions Manager, or if such a modification requires Administrator privileges.
    Thrown if the set parameter is null (Nothing in Visual Basic). Use an zero-length string to indicate an empty value.
    Thrown if the set parameter length is too long.
    When no path is given, InfoConnect uses the folder specified by XfrCurrentDirectory. Note: This property only affects file transfer done using the File Transfer dialog box. If you are transferring files programmatically using IndReceiveFile method or IndSendFile method, you must specify the local file name using the LocalFile argument. Use commas to separate multiple file names, for example:

    FileTransfer.XfrRemoteFile = "test1.txt, test2.txt"

    This property affects IND$FILE data transfer and and is applicable to 3270 sessions only. The default value is "". This string can be up to 260 characters long.
    See Also