Skip to content

quant file

Deploy a single non-HTML asset (CSS, JavaScript, images, fonts, downloads) to a specific URL on QuantCDN. For HTML pages, use quant page.

Terminal window
quant file <file> <location> [options]

Uploads one local file and makes it available at location on the CDN. Useful for hotfixes — updating a single asset without redeploying the whole site — and for one-off uploads outside a build pipeline.

The file is treated as an asset (any content type other than HTML). To upload an HTML document, use quant page, which handles URL normalisation correctly.

Name Description
file Path to the local file (required).
location The URL path the file should be available at (required).

This command takes only the global options.

Terminal window
quant file style.css /css/style.css
Terminal window
quant file image.jpg /images/header.jpg