Attachmate Reflection 2014 .NET API Reference
XfrLocalFile Property

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;}
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.
When no path is given, Reflection 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.

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


IFileTransfer Interface
IFileTransfer Members

Send Feedback