IP*Works! SSH V9 - Online Help
IP*Works! SSH V9
Questions / Feedback?

DirEntry Type

A listing in a directory returned from the server.

Remarks

The DirEntry listings are filled out by the component when a directory listing is received as a response to a ListDirectory or ListDirectoryLong call. The server returns a listing for each directory and file in the RemotePath that exists. This listing is parsed into a directory entry.

If ListDirectoryLong is called, all of the fields listed below are supplied by the server. However, when the ListDirectory method is called, the FileSize, FileTime, and IsDir fields all are left empty by the server. The only field it returns in this case is the FileName.

The full line for the directory entry is provided by the Entry field.

Fields

Entry
String

This field contains the raw entry as received from the server. The complete unparsed entry in the directory listing.

FileName
String

This field shows the file name in the last directory listing. This may also be the directory name if a directory is being listed. You can tell whether it is a file or directory by the boolean IsDir field.

FileSize
Long

This field shows the file size in the last directory listing.

FileTime
String

This field shows the file time in the last directory listing. This contains the date/time stamp in which the file was created.

NOTE: In Unix systems the date is given in two types of formats: If the date is in the last 12 months the exact time is specified and the year is omitted. Otherwise only the date and the year but not hours or minutes are given.

IsDir
Boolean

This field specifies whether entries in the last directory listing are directories. This boolean value denotes whether or not the directory entry listed in FileName is a file or a directory.

Constructors

[VB.NET]
Public DirEntry()

[C#]
public DirEntry();



 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 9.0.6240.0