I'm using smbget to backup files from a windows server, and it works great, but our network hardware is not top-notch, and sometimes some clients lose connections if there is lots of traffic going over the network. Since I use smbget to transfer large amounts of files at work, it would be helfpul if smbget had a --rate-limit option similar to wget so I could cap the transfer speed over the network.
jelmer, feel free to do what you want with this one. smbget is your tool.
Sorry, implementing this option would be too much trouble - it would require a bunch of changes to Samba3's internal handling of SMB (at least a couple of days work). This'll probably be easier in Samba4, so I might implement it there when I get to writing a smbget for Samba4. You might want to try using QOS instead.
Hmmmm. Several days??? Don't get me wrong, but can't you choose an appropriate small blocksize and insert sleeps before smbget.c:383? Volker
Reopening. Volker has convinced me that it's probably easier to implement this as I thought as first.
bug open too long without any progress. Closing as LATER.