I have a question when using rclone. I want to migrate files to a network shared directory, which uses the CIFS protocol for network sharing. Assuming the target server address is 10.222.333.444, the directory to be migrated is test1, and the CIFS account password is admin/admin, how should I build a config file?
I tried using this method for transmission, but unfortunately, the server restricts the maximum SMB connections for a single host. Does rclone support reusing SMB connections instead of restarting a new SMB connection for each file transfer?
Due to the limitation of the SMB server, which can only support up to 8 concurrent SMB connections per client, I have observed that Rclone uses more SMB connections when the transfer concurrency is set higher. Upon reviewing the source code, I found that a new SMB connection is established for each file transfer, without connection reuse; the connection is closed after the transfer. Have you considered optimizing this approach? For example, have you considered establishing an SMB connection pool at the beginning of the transfer, or mapping the SMB share as a local drive, and then directly copying files to the drive (similar to "rclone.go copy D:/test Z:/")? This would effectively use only one SMB connection for all operations.