User's Guide
Reference Manual
Release Notes
PDF
Top

cosFileTransfer
Reference Manual
Version 1.1.12

Expand All
Contract All

Table of Contents

- cosFileTransferApp
  - Top of manual page
  - install/0
  - uninstall/0
  - start/0
  - stop/0
  - create_VFS/4
  - ssl_server_certfile/0
  - ssl_client_certfile/0
  - ssl_server_verify/0
  - ssl_client_verify/0
  - ssl_server_depth/0
  - ssl_client_depth/0
- CosFileTransfer_File
  - Top of manual page
  - '_get_name'/1
  - '_get_complete_file_name'/1
  - '_get_parent'/1
  - '_get_associated_session'/1
- CosFileTransfer_Directory
  - Top of manual page
  - list/2
- CosFileTransfer_FileIterator
  - Top of manual page
  - next_one/1
  - next_n/2
  - destroy/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
  - set_directory/2
  - create_file/2
  - create_directory/2
  - get_file/2
  - delete/2
  - transfer/3
  - append/3
  - insert/4
  - logout/1

# CosFileTransfer_VirtualFileSystem

### MODULE

CosFileTransfer_VirtualFileSystem

### MODULE SUMMARY

This module implements the OMG CosFileTransfer::VirtualFileSystem interface.

### DESCRIPTION

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

### EXPORTS

'_get_file_system_type'(VFS) -> Return

Types:

VFS = #objref
Return = 'FTP' | 'NATIVE'

This read only attribute represents the target object's associated file system.

'_get_supported_content_types'(VFS) -> Return

Types:

VFS = #objref
Return =

This read only attribute represents the target object's supported content types.

login(VFS, User, Password, Account) -> Return

Types:

VFS = #objref
User = Password = Account = string()
Return = {FileTransferSession, Directory} | {'EXCEPTION', E}
FileTransferSession = Directory = #objref

This operation creates a new instance of a FileTransferSession and a Directory. The later represents the current working directory of the returned FileTransferSession.