Changes for page SMB Connectivity
Last modified by Danniar Firdausy on 2024/09/18 20:40
From version 25.1
edited by Bouke Reitsma
on 2024/05/13 16:19
on 2024/05/13 16:19
Change comment:
There is no comment for this version
To version 31.1
edited by Erik Bakker
on 2024/06/21 11:52
on 2024/06/21 11:52
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. BoukeReitsma1 +XWiki.ebakker - Content
-
... ... @@ -1,6 +1,6 @@ 1 1 {{container}} 2 2 {{container layoutStyle="columns"}}((( 3 -In some cases,thereis nocommunicationpossiblewith a local file directory.Orthereisarequirementfromthe external partyto place the filessomewhereelse.Mainly the somewhereseiseither an FTP oranSFTP. However, there is a third communication protocol that can be used for file transfer. In this microlearning we will take a look at Server Message Block (SMB) connectivity within eMagiz.3 +In some situations, direct communication with a local file directory is not possible, or in other case, an external party requires the files to be placed elsewhere. Typically, these files need to be retrieved from or uploaded to a server location using the FTP or SFTP protocols. However, there is a third communication protocol that can be used for file transfer. In this microlearning we will take a look at Server Message Block (SMB) connectivity within eMagiz. 4 4 5 5 Should you have any questions, please get in touch with [[academy@emagiz.com>>mailto:academy@emagiz.com]]. 6 6 ... ... @@ -31,8 +31,10 @@ 31 31 32 32 So, where the file pickup component searches on the local host for the correct directory, the idea of the SMB setup is that the directory with whom to communicate exists on a remote host. The local host and the remote host can talk to each other via the SMB protocol. That is, in a nutshell, the difference between setting up an SMB connection and communicating with local directories. 33 33 34 - eMagizprovides only onesupport objects to connect to anSMB:34 +{{warning}}Note that the auto create directory setting on all SMB components only works for a "one-level" directory (i.e. /directory) and not for a "multi-level" directory (i.e. /directory/sub). To ensure this "multi-level" directory is created by eMagiz you need to take a look at this [[microlearning>>doc:Main.eMagiz Academy.Microlearnings.Advanced.eMagiz Store.novice-emagiz-store-merge-store-data-model.WebHome||target="blank"]]{{/warning}} 35 35 36 +eMagiz provides only one support object to connect to an SMB: 37 + 36 36 * SMB session factory 37 37 38 38 [[image:Main.Images.Microlearning.WebHome@intermediate-file-based-connectivity-smb-connectivity-smb-support-object.png]] ... ... @@ -44,7 +44,7 @@ 44 44 * SMB inbound Channel adapter 45 45 * SMB outbound Channel adapter 46 46 47 -On top of that, you need the following support object s.49 +On top of that, you need the following support object. 48 48 49 49 * SMB session factory 50 50 ... ... @@ -68,7 +68,7 @@ 68 68 69 69 [[image:Main.Images.Microlearning.WebHome@intermediate-file-based-connectivity-smb-connectivity-smb-session-factory-filled-in.png]] 70 70 71 -In the advanced tab there are only two settings to change. The minimum and maximum SMB protocol version. By default, these are set to 2.02 and 3.1.1 respectively to allow a wide range of save protocol version. However if you want to only allow the best performing version, the minimum 3.0.2 is advised. If you aim for the best secured connection version 3.1.1 has the most functionality in this area. The best practise on this is set the minimum version as high as possible to mimize risks. 73 +In the advanced tab there are only two settings to change. The minimum and maximum SMB protocol version. By default, these are set to 2.02 and 3.1.1 respectively to allow a wide range of save protocol version. However, if you want to only allow the best performing version, the minimum 3.0.2 is advised. If you aim for the best secured connection version 3.1.1 has the most functionality in this area. The best practise on this is set the minimum version as high as possible to mimize risks. 72 72 73 73 Now that we have configured the support object,we can add the SMB inbound channel adapter to the flow. 74 74 ... ... @@ -82,7 +82,7 @@ 82 82 83 83 === 3.2 SMB Gateway === 84 84 85 -The SMB Gateway is an additional component that can be used to interact with your SMB share. It enables the use of a set of pre-configured commands to forexample deletefiles. The reply messages depend on the selected command. Every command option is explained within the helptext. An example configuration to send files is shown below.87 +The SMB Gateway is an additional component that can be used to interact with your SMB share. It allows the use of a set of pre-configured commands to perform actions such as deleting files. Compared to the outbound channel adapter replies are send back to eMagiz. These reply messages depend on the selected command. Every command option is explained in detail within the helptext. An example configuration to send files is shown below. 86 86 87 87 [[image:Main.Images.Microlearning.WebHome@intermediate-file-based-connectivity-smb-connectivity-smb-outbound-gateway-filled-in.png]] 88 88