Changes for page SMB Connectivity
Last modified by Danniar Firdausy on 2024/09/18 20:40
From version 35.12
edited by Danniar Firdausy
on 2024/09/18 20:38
on 2024/09/18 20:38
Change comment:
There is no comment for this version
To version 26.1
edited by Bouke Reitsma
on 2024/05/13 16:21
on 2024/05/13 16:21
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. dfirdausy1 +XWiki.BoukeReitsma - Content
-
... ... @@ -1,6 +1,6 @@ 1 1 {{container}} 2 2 {{container layoutStyle="columns"}}((( 3 -In m anyscenarios,accessingormanagingfilesdirectly througha local directoryisn't feasible, orexternalrequirementsmightnecessitatefileplacement indifferentlocations.Typically,filetransfers arehandledvia FTP or SFTPprotocols,but another optionavailableisServerMessageBlock(SMB)connectivity. In this microlearning,we will explorehowSMB connectivity works within eMagiz, examining how it facilitates file transfers between local and remote systems.3 +In some cases, there is no communication possible with a local file directory. Or there is a requirement from the external party to place the files somewhere else. Mainly the somewhere else is either an FTP or an SFTP. 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 ... ... @@ -12,8 +12,14 @@ 12 12 == 2. Key concepts == 13 13 14 14 This microlearning is about SMB (connectivity). 15 -* By SMB connectivity, we mean: Making sure that eMagiz can communicate with the SMB protocol to exchange file-based data. 16 16 16 +By SMB connectivity, we mean: Making sure that eMagiz can communicate with the SMB protocol to exchange file-based data. 17 + 18 +* SMB (Server Message Block) is a network protocol for transmitting files between computers over Transmission Control Protocol/Internet Protocol (TCP/IP) connections. 19 +* In an SMB transaction, the end user's computer is typically called the localhost. The second computer involved in SMB is a remote host, which is usually a server. 20 +* Servers must be set up to run SMB services, and the client must have SMB software installed to access these services. 21 +* eMagiz provides several components to set up the SMB connection 22 + 17 17 == 3. SMB Connectivity == 18 18 19 19 In some cases, there is no communication possible with a local file directory. Or there is a requirement from the external party to place the files somewhere else. Mainly the somewhere else is either an FTP or an SFTP. 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. ... ... @@ -25,10 +25,8 @@ 25 25 26 26 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. 27 27 28 - {{warning}}Notethat the auto create directorysetting 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 ensurethis"multi-level" directory is createdbyeMagiz you needtotake a lookat this [[microlearning>>doc:Main.eMagiz Academy.Microlearnings.AdvancedLevel.File based connectivity.advanced-file-connectivity-dynamically-manipulate-smb-settings.WebHome||target="blank"]]{{/warning}}34 +eMagiz provides only one support objects to connect to an SMB: 29 29 30 -eMagiz provides only one support object to connect to an SMB: 31 - 32 32 * SMB session factory 33 33 34 34 [[image:Main.Images.Microlearning.WebHome@intermediate-file-based-connectivity-smb-connectivity-smb-support-object.png]] ... ... @@ -40,7 +40,7 @@ 40 40 * SMB inbound Channel adapter 41 41 * SMB outbound Channel adapter 42 42 43 -On top of that, you need the following support object. 47 +On top of that, you need the following support objects. 44 44 45 45 * SMB session factory 46 46 ... ... @@ -74,11 +74,11 @@ 74 74 75 75 [[image:Main.Images.Microlearning.WebHome@intermediate-file-based-connectivity-smb-connectivity-smb-inbound-channel-adapter-filled-in.png]] 76 76 77 -Apart from these configurations, you could also add a filter, just as we learned in the [[Crash Course Messaging on file-based connectivity>>doc:Main.eMagiz Academy.Microlearnings.Crash Course.Crash Course Messaging. crashcourse-messaging-pick-up-files||target="blank"]]. Finishing things off, we should consider the delete behavior we will use. Based on the filter and the business requirements, whether to delete and when to delete could differ. So please consider all your options in that regard. In case there are multiple readers from the folder and/or there are legal requirements to store source files for a certain time period, you should not use the delete remote files option. However, not deleting files read files can cause overloading the machine if no alternative delete policies is in place.81 +Apart from these configurations, you could also add a filter, just as we learned in the [[Crash Course Messaging on file-based connectivity>>doc:Main.eMagiz Academy.Microlearnings.Crash Course.Crash Course Messaging.WebHome||target="blank"]]. Finishing things off, we should consider the delete behavior we will use. Based on the filter and the business requirements, whether to delete and when to delete could differ. So please consider all your options in that regard. In case there are multiple readers from the folder and/or there are legal requirements to store source files for a certain time period, you should not use the delete remote files option. However, not deleting files read files can cause overloading the machine if no alternative delete policies is in place. 78 78 79 79 === 3.2 SMB Gateway === 80 80 81 -The SMB Gateway is an additional component that can be used to interact with your SMB share. It al lows the use of a set of pre-configured commands toperformactions such as deleting files. Comparedto the outboundchanneladapterrepliesare send back to eMagiz. Thesereply messages depend on the selected command. Every command option is explainedin detailwithin the helptext. An example configuration to send files is shown below.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 for example delete files. 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. 82 82 83 83 [[image:Main.Images.Microlearning.WebHome@intermediate-file-based-connectivity-smb-connectivity-smb-outbound-gateway-filled-in.png]] 84 84 ... ... @@ -101,26 +101,17 @@ 101 101 102 102 == 4. Key takeaways == 103 103 104 -* Server Message Block (SMB) is a network protocolusedforsharing files between computers over TCP/IP connections.It allows a client toaccess filesona remoteserver as iftheywereonthe localmachine.108 +* SMB (Server Message Block) is a network protocol for transmitting files between computers over Transmission Control Protocol/Internet Protocol (TCP/IP) connections. 105 105 * In an SMB transaction, the end user's computer is typically called the localhost. The second computer involved in SMB is a remote host, which is usually a server. 106 106 * Servers must be set up to run SMB services, and the client must have SMB software installed to access these services. 107 -* To useSMB with eMagiz,you'll needtheSMBsession factory andeithernSMB inboundor outbound channel adapter,dependingonwhetheryou'rereading from or writing to the SMBshare. The SMB Gatewaycomponent offers pre-configured commands for managing files, including options to list, retrieve, move, or delete files.111 +* eMagiz provides several components to set up the SMB connection 108 108 109 109 == 5. Suggested Additional Readings == 110 110 111 111 If you are interested in this topic and want more information, please read the release notes provided by eMagiz. Furthermore, check out these links: 112 112 113 -* [[eMagiz Store (Menu)>>doc:Main.eMagiz Store.WebHome||target="blank"]] 114 -** [[Accelerators (Navigation)>>doc:Main.eMagiz Store.Accelerators.WebHome||target="blank"]] 115 -*** [[SMB Inbound Connectivity (Explanation)>>doc:Main.eMagiz Store.Accelerators.SFTP Inbound Connectivity.WebHome||target="blank"]] 116 -*** [[SMB Outbound Connectivity (Explanation)>>doc:Main.eMagiz Store.Accelerators.SFTP Outbound Connectivity.WebHome||target="blank"]] 117 -*** [[SMB Gateway Connectivity (Explanation)>>doc:Main.eMagiz Store.Accelerators.SFTP Gateway Connectivity.WebHome||target="blank"]] 118 -* [[Crash Course (Menu)>>doc:Main.eMagiz Academy.Microlearnings.Crash Course.WebHome||target="blank"]] 119 -** [[Crash Course Messaging (Navigation)>>doc:Main.eMagiz Academy.Microlearnings.Crash Course.Crash Course Messaging.WebHome||target="blank"]] 120 -*** [[Pick up Files (Explanation)>>doc:Main.eMagiz Academy.Microlearnings.Crash Course.Crash Course Messaging.crashcourse-messaging-pick-up-files||target="blank"]] 121 -* [[SMB (Search Results)>>url:https://docs.emagiz.com/bin/view/Main/Search?sort=score&sortOrder=desc&highlight=true&facet=true&r=1&f_space_facet=0%2FMain.&l_space_facet=10&f_type=DOCUMENT&f_locale=en&f_locale=&f_locale=en&text=%22SMB%22||target="blank"]] 122 -* [[SMB Overview (External)>>https://learn.microsoft.com/en-us/windows-server/storage/file-server/file-server-smb-overview||target="blank"]] 123 -* [[SMB Support (External)>>https://docs.spring.io/spring-integration/reference/smb.html||target="blank"]] 117 +* [[SMB Support>>https://docs.spring.io/spring-integration/reference/smb.html||target="blank"]] 118 +* [[SMB Overview>>https://learn.microsoft.com/en-us/windows-server/storage/file-server/file-server-smb-overview||target="blank"]] 124 124 125 125 )))((({{toc/}}))){{/container}} 126 126 {{/container}}