FS.DownloadFile - boxgaming/qbjs GitHub Wiki

Download a file from the virtual file system.

Syntax

FS.DownloadFile filepath$

Parameters

  • The filepath$ parameter indicates the file in the virtual filesystem which should be downloaded.

Examples

Example 1: Download a file from the virtual file system.

Import FS From "lib/io/fs.bas"

FS.DownloadFile "/test/img/logo.png"

See Also

FS.UploadFile
FS.ListDirectory