Anytime Help Center

Loading Files via SFTP to MUSE

Rating

Loading Files via SFTP to MUSE

This guide assumes that you do not have Visual Studio Code installed on your computer with the AMX .vsix extension and are not the individual that wrote the control script(s). 

To get started, you will need an sFTP program such as FileZilla or WinSCP, a MUSE control script written in Python, JavaScript, or Groovy and a program.json file containing the necessary metadata for Mojo to run the control script. The control script and program.json file would be provided by the control system programmer.​​​


screen 1.png



1.  Open the sFTP program and connect to the MUSE controller by entering the ip address, username, and password. The sFTP protocol communicates on port 22.


screen 2.png



2.  Once connected, you will see the file system of the MUSE controller.


screen 3.png


3.  Navigate to the “mojo” folder.


screen 4.png


4.  Navigate to the “program” folder. This is where the control scripts need to be loaded. On a new system, this folder will be empty. If there are other scripts already loaded, you will see individual folders containing them. Every script must be placed inside a folder and cannot be run from directly inside the program folder (which is how it should be given to you).​


screen 5.png


5.  Locate the folder the programmer gave you. In this example, the folder is called “sFTP Tutorial”.


screen 6.png


You can double-click on this folder to make sure it has the correct contents:

      - A control script with a file extension of: .py, .js, or .groovy

      - A program.json file.

      - Optionally, a folder called “mojo” or a file with a .ts extension.

      - There also may be additional files, consult your programmer if needed.


screen 7.png


6.  Drag the program folder into the program folder of the sFTP software to transfer it to the MUSE controller


screen 8.png


7.  Done! The control script will automatically start running shortly after being loaded to the MUSE controller. This process can be repeated if you have multiple scripts that need to be loaded.​



Downloads

Product

 

Topic

Programming

Related Articles

Last modified at 2/21/2025 12:09 PM by PRO Knowledge Base
Top