User's Guide
Reference Manual
Release Notes
PDF
Top

cosFileTransfer
Reference Manual
Version 1.1.10

Expand All
Contract All

Table of Contents

# 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.