Changes for page SMB Connectivity
Last modified by Danniar Firdausy on 2024/09/18 20:40
From version 15.1
edited by Bouke Reitsma
on 2024/05/06 11:35
on 2024/05/06 11:35
Change comment:
There is no comment for this version
To version 22.1
edited by Bouke Reitsma
on 2024/05/13 13:58
on 2024/05/13 13:58
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -59,8 +59,11 @@ 59 59 * Port 60 60 * Username 61 61 * Password 62 +* Share and directory 62 62 63 -As best practise, we also define the share and directory value. The value for this field is the main folder for your fileshare. In case the main folder is the exchange folder, this field should be empty and the main folder should be configured as remote directory in the SMB inbound Channel adapter. 64 +{{info}} 65 +The value for the share and directory field is the main folder for your file share. If the main folder is the exchange folder, then within smb inbound channel adapter, a / is needed as remote directory. 66 +{{/info}} 64 64 65 65 [[image:Main.Images.Microlearning.WebHome@intermediate-file-based-connectivity-smb-connectivity-smb-session-factory-filled-in.png]] 66 66 ... ... @@ -74,7 +74,7 @@ 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. 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. 80 +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 ... ... @@ -83,9 +83,20 @@ 83 83 [[image:Main.Images.Microlearning.WebHome@intermediate-file-based-connectivity-smb-connectivity-smb-outbound-gateway-filled-in.png]] 84 84 85 85 {{info}} 86 -Please note that for some commands an SpEL expression is required to respresent a path. This setting can be found in the advanced settings. 89 +Please note that for some commands an SpEL expression is required to respresent a path. This setting can be found in the advanced settings. An example for the mget command could be **myfilesdirectory/** to get only files from this directory. 87 87 {{/info}} 88 88 92 +All available options are: 93 + 94 +* List files 95 +* List file names 96 +* Retrieve file 97 +* Retrieve multiple files 98 +* Remove file(s) 99 +* Move/rename file 100 +* Send file 101 +* Send mulitple files 102 + 89 89 This concludes our microlearning, in which we learned how to set up the connectivity with an SMB. 90 90 91 91 == 4. Key takeaways ==