This Connector can be usd by any MuleSoft client unlike the one at https://github.com/mulesoft-consulting/mule-smb-connector. Please let me ([email protected]) know if you would like any new processors (features) to be added on this connector.
- saveFileFromStream: This method will save the input file at a remote file location.
- readFiles: This processor will return a map of fully qualified file name and its content present. The returned map will have both FQN file name and its content as stream. Since input pattern could select n-number of files, I would not recommanded to use this processor in any real use cases - rather call readFileNames first and then for each file call readFile
- readFileNames: This processor will return a list of fully qualified file name present at the configured folder based on a file name pattern
- readFile: Message processor that can be directly called to read a specified File
- deleteFile: This processor will delete any file specified by the file name
<smb:config name="Smb__Configuration" username="USER" password="XXXX" host="host" domain="WORKGROUP" folder="shared$/AMINUL" doc:name="Smb: Configuration"/>
<smb:read-file config-ref="Smb__Configuration" fileName="settings.xml" doc:name="Smb"/>
settings.xml being a sample file i am trying to read