2000 2013 Ericsson AB, All Rights Reserved The contents of this file are subject to the Erlang Public License, Version 1.1, (the "License"); you may not use this file except in compliance with the License. You should have received a copy of the Erlang Public License along with this software. If not, it can be retrieved online at http://www.erlang.org/. Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License. The Initial Developer of the Original Code is Ericsson AB. CosFileTransfer_Directory 2000-11-09 PA1
CosFileTransfer_Directory This module implements the OMG CosFileTransfer::Directory interface.

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.

list(Directory, Max) -> Return Return a list, of length Maxor less, containing Object References representing files or directories contained within the target Directory and a FileIteratoror a NILobject 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.