wodFtpDLX ActiveX Control - UnicodeName Property
      
 

Description

Holds UTF8 encoded name of the file or directory.


Property type

A String value.  


Syntax

object.UnicodeName [= value]



The UnicodeName Property syntax has these parts:

Part Description
object An expression evaluating to an object of type DirItem.
value A String value.

Remarks

Unlike Name property which uses your current codepage to show you file/folder name, UnicodeName property holds it in UTF8 encoding. This allows you to see non-english names properly. However, wodFtpDLX will still use Name property to reference this file/folder directly, since that approach is much safer. When local codepage doesn't have appropriate locale installed on local PC, it is possible for unicode names to contain ??? characters as replacement. Such characters in name would cause wodFtpDLX to fail accessing remote file/folder.

You should use this value when showing item on the screen. When item is referenced, it is suggested to use Name property instead.

Just a reminder - you must call ListDir to get directory listing, and then access files through Ftp.DirItems property in order for this property to be available!