When attempting to use tftp instead of the web UI for uploading the file, the following error is seen:

#> python

File received

File “”, line 1
SyntaxError: invalid syntax

Same error seen using tftp from Windows and Linux. My desire is to automate (script) the compile/upload/reboot process without having to click through the GUI.

Hi Herman,

The way you are using the command indicates that the file being received by the TFTP is executed as a python file. Since its a zip file, it will fail.

Unfortunately there is no way (at least that I know of) to tftp over files to the device using the CLI. It seems that we’re stuck with the http uploads for now.

I’ve opened a change request to retrieve files using TFTP via the CLI.


Thanks Max for the speedy reply!