---
name: "CosFileTransfer_VirtualFileSystem"
section: "3erl"
platform: "linux"
package: "erlang-manpages"
version: "1:19.2.1+dfsg-2+deb9u3"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/CosFileTransfer_VirtualFileSystem"
---

# CosFileTransfer\_VirtualFileSystem(3erl)

This module implements the OMG CosFileTransfer::VirtualFileSystem interface.

## NAME

CosFileTransfer\_VirtualFileSystem - 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*.
