Changes for page SMB Connectivity
Last modified by Danniar Firdausy on 2024/09/18 20:40
From version 8.1
edited by Bouke Reitsma
on 2024/05/06 10:29
on 2024/05/06 10:29
Change comment:
There is no comment for this version
To version 4.2
edited by Bouke Reitsma
on 2024/05/02 10:58
on 2024/05/02 10:58
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -14,30 +14,35 @@ 14 14 15 15 By SMB connectivity, we mean: Making sure that eMagiz can communicate with the SMB protocol to exchange file-based data. 16 16 17 -* SMB(ServerMessage Block) is a network protocol for transmitting files between computers over Transmission Control Protocol/Internet Protocol (TCP/IP) connections.18 -* In an SMBtransaction, the end user's computer is typically called the localhost. The second computer involved inSMBis a remote host, which is usually a server.19 -* Servers must be set up to run SMBservices, and the client must haveSMBsoftware installed to access these services.20 -* eMagiz provides several components to set up the SMBconnection17 +* FTP (File Transfer Protocol) is a network protocol for transmitting files between computers over Transmission Control Protocol/Internet Protocol (TCP/IP) connections. 18 +* In an FTP transaction, the end user's computer is typically called the localhost. The second computer involved in FTP is a remote host, which is usually a server. 19 +* Servers must be set up to run FTP services, and the client must have FTP software installed to access these services. 20 +* eMagiz provides several components to set up the FTP connection 21 21 22 -== 3. SMBConnectivity ==22 +== 3. FTP Connectivity == 23 23 24 -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, thereisa third communication protocolthat can beused for file transfer. Inthis microlearning we willtake alook atServerMessageBlock(SMB)connectivitywithin eMagiz.24 +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. This microlearning will look at the FTP and learn how to set up the connection between eMagiz and the FTP. 25 25 26 -* SMB(ServerMessage Block) is a network protocol for transmitting files between computers over Transmission Control Protocol/Internet Protocol (TCP/IP) connections.27 -* In an SMBtransaction, the end user's computer is typically called the localhost. The second computer involved inSMBis a remote host, which is usually a server.28 -* Servers must be set up to run SMBservices, and the client must haveSMBsoftware installed to access these services.29 -* eMagiz provides several components to set up the SMBconnection26 +* FTP (File Transfer Protocol) is a network protocol for transmitting files between computers over Transmission Control Protocol/Internet Protocol (TCP/IP) connections. 27 +* In an FTP transaction, the end user's computer is typically called the localhost. The second computer involved in FTP is a remote host, which is usually a server. 28 +* Servers must be set up to run FTP services, and the client must have FTP software installed to access these services. 29 +* eMagiz provides several components to set up the FTP connection 30 30 31 ------------------------------------------------------------------------------------------------------------------------------------ 32 - 33 -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. 31 +So, where the file pickup component searches on the local host for the correct directory, the idea of the FTP 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 FTP protocol. That is, in a nutshell, the difference between setting up an FTP connection and communicating with local directories. 34 34 35 -eMagiz provides o nlyonesupport objects to connect to anSMB:33 +eMagiz provides two support objects to connect to an FTP: 36 36 37 -* Default SMB session factory 35 +* Default FTP caching session factory 36 +* Default FTP session factory 38 38 39 39 [[image:Main.Images.Microlearning.WebHome@intermediate-file-based-connectivity-ftp-connectivity--ftp-support-objects.png]] 40 40 40 +The main difference between the two is the caching part. The caching session factory comes with the option to re-use the existing session for multiple requests. In other words, this way, you do not have to authenticate yourself every time you want to communicate with the FTP. This behavior is beneficial if a high frequency of communication is needed between eMagiz and the FTP to handle the incoming and outgoing data packages. 41 + 42 +If you only initiate communication infrequently, for example, once per day, the default session factory becomes more interesting as this closes the session after each transmission. This behavior is beneficial in cases of low-frequency communication because otherwise, the session would remain active for an extensive period. 43 + 44 +[[image:Main.Images.Microlearning.WebHome@intermediate-file-based-connectivity-ftp-connectivity--ftp-caching-help-text.png]] 45 + 41 41 === 3.1 Best practices for using FTP === 42 42 43 43 ==== 3.1.1 Which session factory do I need? ====