Virtual File Systems
Description
Apache Virtual File System (VFS) is part of the Apache Commons project. Through VFS, Hop users can access various files from different sources such as files on the local disk, on a HTTP(S) server, inside a ZIP archive and so through a url format.
Apache Hop makes fervent usage of VFS. Beyond the standard VFS file system types, we have added a number which are present in the various technology stacks supported by Hop. Like the standard file systems each has its own unique name scheme which you can use.
Apache Hop VFS File Systems
The table below provides a quick overview of the VFS file systems supported by Apache Hop. Click the File system name to access more detailed file system documentation.
| File System | Description | URI Format |
|---|---|---|
Provides access to Amazon S3 Buckets |
| |
Provides access to Azure Blob Storage |
| |
Provides access to Dropbox |
| |
Provides access to Google Cloud Storage buckets |
| |
Provides access to Google Drive folders |
| |
Provides access to S3-compatible endpoints via a named Minio connection (metadata) |
| |
Provides access to WebDAV servers, either via the static schemes or a named connection (metadata) |
|
Apache VFS File System Types
The table below lists the file system types provided by the default Apache VFS implementation.
Check the Apache VFS file system types for more information on the supported functionality per files system.
| File System | Description | URI Format |
|---|---|---|
BZIP2 | Provides read-only access to the contents of gzip and bzip2 files. | URI Format
Where compressed-file-uri refers to a file of any supported type. There is no need to add a Examples
|
File | Provides access to the files on the local physical file system. | URI Format
Where Examples
|
FTP | Provides access to the files on an FTP server. | URI Format
Examples
By default, the path is relative to the user’s home directory. This can be changed with:
|
FTPS | Provides access to the files on an FTP server over SSL. | URI Format
Examples
|
GZIP | see 'bzip2' | |
HTTP(S) | Provides access to files on an HTTP server. | URI Format
File System Options
Examples
|
Jar, Zip and Tar | Provides read-only access to the contents of Zip, Jar and Tar files. The | URI Format
Where Examples
|
RAM | A filesystem which stores all the data in memory (one byte array for each file content). | URI Format
File System Options
Examples
|
SFTP | Provides access to the files on an SFTP server (that is, an SSH or SCP server). | URI Format
Examples
|
Tar | see 'jar' | |
Temp | Provides access to a temporary file system, or scratchpad, that is deleted when Commons VFS shuts down. The temporary file system is backed by a local file system. | URI Format
Examples
|
WebDAV | Provides access through | URI Format — Apache Commons VFS 2 schemes (not legacy
File System Options
Examples
|
Zip | see 'jar' |
Supported operations
The matrix below shows which operations each registered provider exposes, taken from the capability set each provider declares in code. Capabilities can drift between commons-vfs2 releases, so the authoritative reference is the capabilities collection on each FileProvider / FileSystem class (in commons-vfs2 for the standard providers, and in plugins/tech/<plugin> for the Hop-managed ones). A ✓ means the capability is declared by the provider; ✗ means it isn’t. Server-side restrictions (read-only mounts, bucket policies, account permissions, …) can still block individual operations at runtime.
| Scheme | Read | Write | Append | List | Create/Delete | Rename | Random read | Random write | Last-modified |
|---|---|---|---|---|---|---|---|---|---|
| ✓ | ✓ | ✗ | ✓ | ✓ | ✓ | ✓ | ✗ | read |
| ✓ | ✓ | ✗ | ✓ | ✓ | ✓ | ✗ | ✗ | read |
| ✓ | ✓ | ✗ | ✓ | ✓ | ✗ | ✗ | ✗ | read/set |
| ✓ | ✓ | ✗ | ✓ | ✓ | ✓ | ✓ | ✗ | read |
| ✓ | ✓ | ✗ | ✓ | ✓ | ✓ | ✗ | ✗ | read |
| ✓ | ✓ | ✗ | ✓ | ✓ | ✓ | ✓ | ✗ | read |
| ✓ | ✓ | ✗ | ✓ | ✓ | ✓ | ✓ | ✗ | read |
| ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | read/set |
| ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | read/set |
| ✓ | ✗ | ✗ | ✓ | ✗ | ✗ | ✗ | ✗ | read |
| ✓ | ✗ | ✗ | ✓ | ✗ | ✗ | ✗ | ✗ | read |
| ✓ | ✗ | ✗ | ✓ | ✗ | ✗ | ✗ | ✗ | read |
| ✓ | ✓ | ✗ | ✓ | ✗ | ✗ | ✗ | ✗ | read |
| ✓ | ✗ | ✗ | ✗ | ✗ | ✗ | ✓ | ✗ | read |
| ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✗ | read |
| ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✗ | read/set |