rclone icon indicating copy to clipboard operation
rclone copied to clipboard

feature request: read/write from/to samba (smb) drives

Open dtenenba opened this issue 8 years ago • 7 comments

If rclone could support reading and writing from/to samba (smb) shares that would simplify my workflow greatly. In other words, if rclone could do what smbclient does.

dtenenba avatar Feb 01 '18 18:02 dtenenba

If someone writes a go library to interface with smb then we'll do it, but writing a smb library is too big a project for us I think!

ncw avatar Feb 03 '18 10:02 ncw

Thanks. Looks like there are a couple of packages out there, not sure if they are good enough: https://github.com/stacktitan/smb https://golanglibs.com/top?q=smb

dtenenba avatar Feb 03 '18 18:02 dtenenba

Stacktitans implementation is very minimal and only includes the authentication parts. A library like https://github.com/videolabs/libdsm should most likely be ported to go before a backend could be implemented.

mathiasgredal avatar Dec 26 '18 01:12 mathiasgredal

This looks like it might be complete enough: https://github.com/hirochachacha/go-smb2

ncw avatar Nov 11 '20 17:11 ncw

Marking as important based on 15 :+1: and availability of Go implementations.

ivandeex avatar Oct 23 '21 15:10 ivandeex

any idea when this will be available?

tooptoop4 avatar Sep 08 '22 10:09 tooptoop4

@tooptoop4 we are looking for someone to work on this. Do you want to have a go?

ncw avatar Sep 12 '22 11:09 ncw

there is a PR!!!

tooptoop4 avatar Sep 23 '22 22:09 tooptoop4

This is now merged to master.

If anyone would like to try it please use the latest beta and make new issues with any problems.

If all goes well it will be released in 1.60

ncw avatar Oct 03 '22 11:10 ncw