Difference between revisions of "Basic Web Server"
m |
m (→Simple Example) |
||
Line 29: | Line 29: | ||
# '''Notice - ''' because we choose to name our example html file "index", the web server automatically opens our file (as explained) : <br> [[image: WEB 7.PNG]] <br> | # '''Notice - ''' because we choose to name our example html file "index", the web server automatically opens our file (as explained) : <br> [[image: WEB 7.PNG]] <br> | ||
# In case you want to open other file name or format, at your browser insert file name as showed, and add file name and it's format: <br> [[image: WEB 8.PNG]] <br> Press '''Enter'''. <br> | # In case you want to open other file name or format, at your browser insert file name as showed, and add file name and it's format: <br> [[image: WEB 8.PNG]] <br> Press '''Enter'''. <br> | ||
− | # | + | # The file will open at your browser: <br> [[image: WEB 9.PNG|600px]] |
Revision as of 08:00, 28 December 2017
The basic Web Server allow you to store "static" page at softMC as light html files, PNG files, DOC files etc.
The communication between softMC and Web Server will be slow. In case you want to improve it you should get WebAPI for softMC, which required license.
This manual show you how to store and access your "static" file using Web Server.
Access Default Page
At your softMC there is already installed "Basic Web Server".
The following steps show the access it:
- Run your softMC and your computer, on the same network.
- After softMC running, open your browser, and insert softMC IP address at the address line:
- Press Enter and you will access to the default web server page:
- This page allow you to send Mc-basic commands to softMC, as ControlStudio terminal do.
Upload Files
As mention, you can store your files at softMC and access them by using your browser.
To do so, you need to install Bitvise software. This software function as basic file manger, that let you control softMC file.
Steps to upload files:
- Download and install Bitvise from here
- Make sure softMC running and that your computer is on the same network as softMC, and open Bitvise.
- At Login section, insert the relevant information, according to your sofMC setting - IP address, port, username and password:
- Press Login button. Two windows will open - command line window, and file manger (Bitvise SFTP).
- using the file manger window you can put your files on softMC. Notice - to be allowed to open your files using web browser you must locate them on WWW folder!
NOTE | |
The default "open file" command sets to open html file which called "index.html". in case you want to open your html file by default save your file under this name. |
Simple Example
In this example we upload to sofMC a basic html file.
You can find the Example files here:
- Upload to softMC the example files, as explain before:
- At your browser address line, refer to web server address, from "WWW" folder:
Press Enter. - Notice - because we choose to name our example html file "index", the web server automatically opens our file (as explained) :
- In case you want to open other file name or format, at your browser insert file name as showed, and add file name and it's format:
Press Enter. - The file will open at your browser: