CosFileTransfer_VirtualFileSystem

This module implements the OMG CosFileTransfer::VirtualFileSystem interface.

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

Functions


'_get_file_system_type'(VFS) -> Return

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

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

'_get_supported_content_types'(VFS) -> Return

  • VFS = #objref
  • Return =

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

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

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