PowerTCP FTP for .NET
Name Field



Gets or sets the file or directory name, depending on the value of the Type property. Can be set by the user when parsing the Text property.
Syntax
Public Name As String
Dim instance As ListEntry
Dim value As String
 
value = instance.Name
 
instance.Name = value
public string Name
public:
String^ Name

Field Value

A string representing the name of the file or directory.
Remarks

This property represents the name of the file only. To obtain the path, use the ListEntry.Path property.

If the Listing.Format is UNIX and the ListEntry.Type is Link, this property will contain the value of the link name. In this case, to obtain the file the link is pointing to, see ListEntry.Destination.

See Also

Reference

ListEntry Class
ListEntry Members


PowerTCP FTP for .NET Documentation Version 6.1
© 2023 Dart Communications. All Rights Reserved.
Send comments on this topic