Samba File Share¶
If your Indapp is meant to use a "Samba" server for file sharing with NCU, your configuration file should include a "fileSharingConfig" field below.
"fileSharingConfig": {
"NCUFileSharing": true,
"appFolderName": "<officialappname>"
}
NCUFileSharing: When this field is set as "true", the application can use the "samba" folder for file sharing
appFolderName: Name of the application.
Also your docker-compose file should include the following volume mount points for accessing the "samba" folder of the application "OfficialAppName".
...
services:
...
volumes:
...
- /samba/share/OfficialAppName:/etc/runtime/share:nocopy
...
After this application is installed, the system app called "sambaserver" is also required to be installed in order to use "Samba" file sharing.
Please keep in mind that you should bind below paths in your application docker-compose file for samba file share usage. There are whitelisted paths so they are not effected by restrictions on volume binding in Edge Platform.
- /samba/share/OfficialAppName
- /samba/share/NCUAppFolderName
In order to access these folders from other machine (such as HMI Operate) running on machinelan0 network, You need to connect the address in following format :
<ip_address_of_edgebox_on_machinelan0_network>/share
Ex:
192.168.214.249/share
Any questions left?
Except where otherwise noted, content on this site is licensed under the The Siemens Inner Source License - 1.1.