Discuss this help topic in SecureBlackbox Forum

TElSimpleSFTPClient.TreatZeroSizeAsUndefined

TElSimpleSFTPClient     


Filter: C#/Java  VB.NET  Pascal  C++  PHP  


Specifies if the size of zero returned by the stat command should be considered as undefined.

Declaration

[C#/Java]
    bool TreatZeroSizeAsUndefined;

[VB.NET]
    Property TreatZeroSizeAsUndefined As Boolean

[Pascal]
    property TreatZeroSizeAsUndefined : boolean;

[C++]
    bool get_TreatZeroSizeAsUndefined();
    void set_TreatZeroSizeAsUndefined(bool Value);

[PHP]
    bool get_TreatZeroSizeAsUndefined()
    void set_TreatZeroSizeAsUndefined(bool $Value)

Description

    This property specifies if the size of zero returned by a stat command for a particular file should be considered as undefined. It makes sense to set this property to True, because some operating systems (e.g. Unix-based) return zero size for the files of certain type. For instance, most of the files contained in the /proc directory are reported as 0-sized, while being actually not empty.

Discuss this help topic in SecureBlackbox Forum