Skip to content

Update the firmware using VAPIX API #123

Discussion options

You must be logged in to vote

Hi @axisvivek! I think the following curl command will work.

curl --anyauth -u "root:<device password>" \
  -F 'body={"apiVersion":"1.0","context":"my-context","method":"upgrade"}' \
  -F packfil=@Q1656_11_0_108.bin "<device ip>/axis-cgi/firmwaremanagement.cgi"

where <device password> is the device password, Q1656_11_0_108.bin is the firmware file in current directory, and <device ip> is the IP adress of the device.

By the way, \ are indicators on Linux and macOS that the command is continuing on the next line, on Windows you can simply omit them.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
2 replies
@vivekatoffice
Comment options

vivekatoffice Dec 8, 2022
Collaborator Author

@vivekatoffice
Comment options

vivekatoffice Dec 8, 2022
Collaborator Author

Answer selected by vivekatoffice
Comment options

You must be logged in to vote
2 replies
@mattias-kindborg-at-work
Comment options

@wiener-dog
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
VAPIX
Labels
None yet
3 participants