bita icon indicating copy to clipboard operation
bita copied to clipboard

Allowing other filesystem types, in particular SMB2

Open rkhwaja opened this issue 1 year ago • 1 comments

It looks like what you need from a remote filesystem is efficient read-only range requests, so it should be possible to support SMB2 as the remote filesystem.

rkhwaja avatar Jul 14 '22 21:07 rkhwaja

Hi @rkhwaja,

At this time there is no particular filesystem support in bita. It can only clone from a http hosted archive or a local archive (a file).

If you're asking to clone from a remote smb filesystem instead of http, then one way could be to mount the smb filesystem on the target. Since bita can clone from local archives this should already work.

If you are asking for native support to clone from a remote smb filesystem I would say it is probably possible but I'm not sure it's something I want to develop or maintain at this time. If it's something you're really interested in to develop and help maintain I would suggest to start it as a 3rd party crate and we can take it from there. One way to go about it could be to use curl as a backend (instead of reqwest) since it has at least some support for smb.

oll3 avatar Jul 15 '22 07:07 oll3

Closing since it's unclear to me what's being requested and no further activity from author.

oll3 avatar Sep 03 '22 10:09 oll3