---
name: "CosFileTransfer_Directory"
section: "3erl"
platform: "linux"
package: "erlang-manpages"
version: "1:19.2.1+dfsg-2+deb9u3"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/CosFileTransfer_Directory"
---

# CosFileTransfer\_Directory(3erl)

This module implements the OMG CosFileTransfer::Directory interface.

## NAME

CosFileTransfer\_Directory - This module implements the OMG CosFileTransfer::Directory interface.

## DESCRIPTION

To get access to the record definitions for the structures use: \
 *-include\_lib("cosFileTransfer/include/\*.hrl").*

This module also exports the functions described in:

- \*

  **CosFileTransfer\_File**

- \*

  CosPropertyService\_PropertySetDef in the cosProperty application.

## EXPORTS

**list(Directory, Max) -\> Return**\

Types:

Directory = #objref\
 Return = {ok, FileList, FileIterator}\
 FileList = \[File\]\
 File = FileIterator = #objref\

This operation returns a list, of length *Max* or less, containing Object References representing files or directories contained within the target Directory. If the amount of objects found is less than *Max* the returned Iterator will be a *NIL* object.
