Skip to content
This repository was archived by the owner on Jan 21, 2024. It is now read-only.

mulesoft-consulting/samba-connector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

samba-connector

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.

Following are the current capabilities of 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

How to use

Below is sample Samba configuration:

<smb:config name="Smb__Configuration" username="USER" password="XXXX" host="host" domain="WORKGROUP" folder="shared$/AMINUL" doc:name="Smb: Configuration"/>

Then in a flow use the endpoint as below:

<smb:read-file config-ref="Smb__Configuration" fileName="settings.xml" doc:name="Smb"/>

settings.xml being a sample file i am trying to read

About

No description, website, or topics provided.

Resources

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages