cosFileTransfer

Reference Manual

Version 1.2.2

- User's Guide
- Reference Manual
- Release Notes
- PDF
- Top

- Expand All
- Contract All

### Table of Contents

- cosFileTransferApp
  - Top of manual page
  - create_VFS/4
  - install/0
  - ssl_client_certfile/0
  - ssl_client_depth/0
  - ssl_client_verify/0
  - ssl_server_certfile/0
  - ssl_server_depth/0
  - ssl_server_verify/0
  - start/0
  - stop/0
  - uninstall/0
- CosFileTransfer_File
  - Top of manual page
  - '_get_associated_session'/1
  - '_get_complete_file_name'/1
  - '_get_name'/1
  - '_get_parent'/1
- CosFileTransfer_Directory
  - Top of manual page
  - list/2
- CosFileTransfer_FileIterator
  - Top of manual page
  - destroy/1
  - next_n/2
  - next_one/1
- CosFileTransfer_VirtualFileSystem
  - Top of manual page
  - '_get_file_system_type'/1
  - '_get_supported_content_types'/1
  - login/4
- CosFileTransfer_FileTransferSession
  - Top of manual page
  - '_get_protocols_supported'/1
  - append/3
  - create_directory/2
  - create_file/2
  - delete/2
  - get_file/2
  - insert/4
  - logout/1
  - set_directory/2
  - transfer/3

# CosFileTransfer_FileIterator

### Module

CosFileTransfer_FileIterator

### Module Summary

This module implements the OMG CosFileTransfer::FileIterator interface.

### Description

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

### Exports

next_one(Iterator) -> Return

### Types

Iterator = #objref
Return = {boolean(), #'CosFileTransfer_FileWrapper'{the_file = File file_type = Type}}
File = #objref
Type = nfile | ndirectory

This operation returns true if a FileWrapper exists at the current position and the out parameter contains a valid File reference. If false is returned the out parameter is a non-valid FileWrapper.

next_n(Iterator, Max) -> Return

### Types

Iterator = #objref
Max = unsigned long()
Return = {boolean(), FileList}
FileList = [#'CosFileTransfer_FileWrapper'{the_file = File file_type = Type}]
File = #objref
Type = nfile | ndirectory

This operation returns true if the requested number of FileWrappers can be delivered and there are additional FileWrappers. If false is returned a list, of length Max or less, containing the last valid FileWrappers associated with the target object.

destroy(Iterator) -> ok

### Types

Iterator = #objref

This operation terminates the target object.