Reflection .NET API
Attachmate.Reflection.Emulation.IbmHosts Assembly / Attachmate.Reflection.Emulation.IbmHosts Namespace / IFileTransfer Interface / Xfr400LocalFile Property


In This Topic
    Xfr400LocalFile Property
    In This Topic
    Returns or specifies the name of a PC file to send to an AS/400 (for file transfers to the host), or to receive data from an AS/400 (for data transfer from the host).
    Syntax
    'Declaration
     
    
    Property Xfr400LocalFile As String
    'Usage
     
    
    Dim instance As IFileTransfer
    Dim value As String
     
    instance.Xfr400LocalFile = value
     
    value = instance.Xfr400LocalFile
    string Xfr400LocalFile {get; set;}

    Property Value

    The default is "". This string can be up to 260 characters long.

    Exceptions
    ExceptionDescription
    This exception is thrown when you modify a Reflection 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.
    Remarks
    When no path is given, Reflection uses the folder specified by XfrCurrentDirectory. For example, the following statements set the local transfer file to "C:\test\Payroll".

    FileTransfer.XfrCurrentDirectory = "C:\Test"

    FileTransfer.Xfr400LocalFile = "Payroll"

    This property affects AS/400 data transfer and is only relevant for 5250 sessions. When you are receiving data to a local file, the value of the Xfr400OutputDest property should be set to File (the default value).

    The value of this property is not saved when you save a Reflection settings file, but is saved when you save a transfer request file.

    See Also