InfoConnect for Unisys
Attachmate.Reflection.Emulation.OpenSystems Namespace / IFileTransfer Interface / FTPUserName Property


In This Topic
    FTPUserName Property
    In This Topic
    Returns or specifies the default user name to be used when logging into an FTP server.
    Syntax
    'Declaration
     
    
    Property FTPUserName As String
    'Usage
     
    
    Dim instance As IFileTransfer
    Dim value As String
     
    instance.FTPUserName = value
     
    value = instance.FTPUserName
    string FTPUserName {get; set;}
    Remarks
    If the value of this property is an empty string, the user will be prompted for a password when FTP file transfer is initiated (unless the FTPStartServer method is used with its Options argument set to FTPServerOptions.NoLoginDialog). This property is relevant only for transfers that use the FTP protocol. Values The default value is "". The string cannot be more than 259 characters long.
    See Also