DataJet
  • Welcome to DataJet
  • Scripts
    • Introduction
    • Scripts
      • Input
      • HTTP
      • Scheduled
      • Event
      • Shipping Rate
      • Email
    • Creating a custom script
  • Liquid
    • Introduction
    • Tags
      • exit
      • function
      • json
      • push
      • run
    • Filters
      • array_difference
      • array_equal
      • array_intersection
      • array_symmetric_difference
      • base64_decode
      • base64_encode
      • concat
      • content
      • email
      • encode_uri
      • file
        • multipart
        • url
        • content
      • find
      • find_exp
      • flat
      • flow
      • flow_v2
      • ftp
      • graphql
      • group_by
      • group_by_exp
      • hmac_sha256
      • http
      • in_groups_of
      • in_timezone
      • log
      • parse_json
      • parse_csv
      • parse_xml
      • pop
      • push
      • random
      • remove_prop
      • rest
      • run
      • sha1
      • sum
      • time_add
      • time_subtract
      • type
      • where_exp
  • Misc
    • Credits and usage
    • GitHub Integration
      • Track changes in a script's source code
      • Connect development stores with development branches
      • Use one codebase across multiple Shopify stores
    • Functions
    • Variables
    • Shopify Flow Integration
      • V1
      • V2
    • Processing user submitted forms
Powered by GitBook
On this page
  1. Liquid
  2. Filters

file

File filter is used to manage your files. This might be useful if you need to upload a file to an FTP, share file url with another system, or accept files submitted by the users through the forms.

Each installation comes with a storage. The amount of storage available depends from the plan you are on.

  • Trial - 5mb

  • Basic - 20mb

  • Advanced - 50mb

  • Pro - 100mb

Files are stored only temporarily and after 48h are automatically deleted.

You can save your files based on following sources:

  • content - string captured with capture tags

  • multipart - file coming from a user form submission

  • url - publicly accessible file hosted under specified url

Not all files can be uploaded to your storage. Currently storage is configured to accept following files:

jpg,
png,
gif,
txt,
log,
mp4,
csv,
tsv,
pdf

File extension needs to be specified in fileName parameter when uploading.

Previousencode_uriNextmultipart

Last updated 2 years ago