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


In This Topic
    XfrSpacesToUnderscores Property
    In This Topic

    Gets or sets whether to translate spaces in a file name to underscores during a transfer to a mainframe or AS/400.


    Syntax
    'Declaration
     
    
    Property XfrSpacesToUnderscores As Boolean
    'Usage
     
    
    Dim instance As IFileTransfer
    Dim value As Boolean
     
    instance.XfrSpacesToUnderscores = value
     
    value = instance.XfrSpacesToUnderscores
    bool XfrSpacesToUnderscores {get; set;}

    Property Value

    When this property is set to True (the default), spaces in PC file names are changed to underscores when sent to a mainframe or AS/400. For example, a PC file named "No way" is translated to "No_way" when sent to the host.
    Exceptions
    ExceptionDescription
    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.
    See Also