FTPFile.IsDirectory

Syntax:

IsDirectory()

Returned value:

Type: Boolean.
True indicates that an object corresponds to a directory; otherwise it is False.

Description:

Defines whether a file object corresponds to a directory or a file.

Availability:

Thin client, server, thick client, external connection.

Note:

Applies only to files or a directories that actually exist.

Example:

If Not Selection.IsDirectory() Then
    DoMessageBox("Define a catalog!");
EndIf
;


    

1C:Enterprise Developer's Community