PowerTCP FTP for .NET
Text Field (ListEntry)



Gets the raw list entry.
Syntax
Public ReadOnly Text As String
Dim instance As ListEntry
Dim value As String
 
value = instance.Text
public readonly string Text
public:
readonly String^ Text

Field Value

A string value representing the raw text returned from the server for the particular list entry.
Remarks

Listings are automatically parsed for most common fields. However, many servers have proprietary fields. In cases such as this, for listing fields not contained within the ListEntry object, the raw listing can be retrieved using this property, and parsed.

The ListEntry.Text property is useful for diagnostics purposes, to see a raw ListEntry. It is also useful for dealing with servers that return a "proprietary" listing. For example, if the server may return a UNIX listing. This would look something like:

r-xr-xr-x 1 owner group 20 Jan 10 2002 file1.txt

It also may return a DOS listing which would look something like:

01-10-02 10:18AM 20 file1.txt

In either of these cases, the format would be detected and Listing.Format would be set appropriately. However, if the listing returned was a proprietary listing such as:

file1.txt Jan-10-2002 20

The Ftp component would be unable to detect the type. You would have to get the raw text using the ListEntry.Text property, and manually parse it.

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