Upload File command - Manual - PLC Web Application Manager - The PLC Web Application Manager tool's independent documentation package. - PLC Web Application Manager,

PLC Web Application Manager CLI Tool (plc-web-app-manager)

Portfolio
SIMATIC AX
Product
PLC Web Application Manager
Software version
0.1.2-rc.1
Edition
01/2024
Language
English (original)
Package Name
@ax/plc-web-app-manager-docs
apax plc-web-app-manager upload-file --appName <app name> --resourceId <resource ID> --content <content file path> --mimeType <mime type> -t <target> [-u <username>] [-p=<password>] [-C <certificate path>]

Transfers the specified local file to the web app specified by <appName> on the <target> PLC.

Options

  • --appName – The name of the app to which a file will be uploaded. (required)
  • --resourceId – The resource ID that will be applied to a file when it is uploaded to the web app. (required)
  • --content – The path to a file containing the content for the web app resource being created. (required)
  • --mimeType – The MIME type for the created resource. If none is specified, this defaults to application/octet-stream. (optional)