Skip to content

A simple plugin implementation for accessing SAMBA-shares using flutter.

License

Notifications You must be signed in to change notification settings

Giles-L/samba-browser-flutter

 
 

Repository files navigation

Introduction

This package is capable of performing several read operations on shares using the SMB2 specification. Currently, the following implementations are supported:

  • Android (using the JCIFS library)
  • iOS (using the AMSMB2 library)

DISCLAIMER! The package was developed for experimental purposes. That is why the currently given amount of features is limited. However, I am planning to expand the package in the future. Therefore I would really appreciate any kind of suggestion or error report you can provide on the GitHub Issue Board

Example

SambaBrowser.getShareList('smb:https://192.168.0.1/', 'domain.net', 'admin', 'password')
    .then((shares) => print('Shares found: ${shares.cast<String>()}'));
    
SambaBrowser.saveFile('./local/', 'downloaded.pdf', 'smb:https://192.168.0.1/example.pdf', 'domain.net', 'admin', 'password')
    .then((path) => print('File downloaded to: $path'));

Contributing

Contributions to the GitHub Repository are very welcomed. I also appreciate feature requests as well as bug reports using the GitHub Issue Board.

About

A simple plugin implementation for accessing SAMBA-shares using flutter.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Swift 31.4%
  • Dart 29.7%
  • Java 24.9%
  • Ruby 10.6%
  • Objective-C 3.4%