DirFormat Property

See Also

FtpDLX Class  | FtpDLX Members

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Language

Visual Basic

C#

JScript

Show All

See Also Requirements Languages WeOnlyDo.Client.FTP Send comments on this topic.

DirFormat Property

Determines expected directory format.

[Visual Basic]
Public Property DirFormat As DirFormats
[C#]
public DirFormats DirFormat {get; set;}
[JScript]
public function get,set DirFormat : DirFormats

Remarks

When connecting to remote server, most probably you will need to obtain directory listing for the directory of your choice. If you can parse it by yourself, you may ignore this property. But - if you intent to use DirItems property and therefore access wodFtpDLX.NET's internally parsed information about the directory, you might need to adjust DirFormat property to type of the server you use.

Most typically, you will connect to UNIX servers, or servers that provide same directory listing type as UNIX servers, that typically looks like this:

drwxr-xr-x 1 root kreso 4096 Sep 17 07:28 somefile

Setting DirFormat to Auto or UNIX will make wodFtpDLX.NET parse above information correctly and provide appropriate information as new DirItem object for each such line in directory listing.

Also, DOS and WINDOWS servers may provide different type of listing, looking like this:

10-16-02 02:18PM 744256 number1s.txt

which wodFtpDLX.NET can handle with ease using Windows or Auto setting.

For other directory types (non-standard), you must parse information by yourself, or drop us email us at general@weonlydo.com to include such parsing in future versions.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

FtpDLX Class  | FtpDLX Members

 

 


© WeOnlyDo Software. All Rights Reserved.