Attachmate Reflection 2014 .NET API Reference
Xfr400LocalFile Property


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
Attachmate.Reflection.SecuredSettingException 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.
System.ArgumentNullException Thrown if the set parameter is null (Nothing in Visual Basic). Use an zero-length string to indicate an empty value.
System.ArgumentException 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.

Requirements

Target Platforms: Microsoft Windows 7, Microsoft Windows Vista, Microsoft Windows XP, Microsoft Windows Server 2003 Terminal Services, Microsoft Windows Server 2008 Terminal Services

See Also

Reference

IFileTransfer Interface
IFileTransfer Members

Send Feedback