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

### AUTHORS

support - support@erlang.ericsson.se

cosFileTransfer 1.1
Copyright © 1991-2003 Ericsson Utvecklings AB