Xceed .NET Libraries Documentation
DoName Property (FtpFile)


Xceed.Ftp Assembly > Xceed.Ftp Namespace > FtpFile Class : DoName Property
Gets or sets the short name of the file.
Syntax
'Declaration
 
Protected Overrides Property DoName As String
'Usage
 
Dim instance As FtpFile

Dim value As String

 

instance.DoName = value

 

value = instance.DoName
protected override string DoName {get; set;}

Property Value

A string that represents the short name of the file.
Remarks

The short name consists of the file's name without a path.

When assigning a new name to this property, the physical item is immediately renamed if it exists. If it does not exist, the new name is cached and will be applied whenever this item is created. In either cases, if a physical item with the same name already exists, an exception is thrown.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

FtpFile Class
FtpFile Members
Base Implementation in DoName