Bug 2372 - smbget - add --rate-limit option, similar to wget
Summary: smbget - add --rate-limit option, similar to wget
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Client Tools (show other bugs)
Version: 3.0.10
Hardware: x86 Linux
: P5 enhancement
Target Milestone: none
Assignee: Volker Lendecke
QA Contact: Samba QA Contact
Depends on:
Reported: 2005-02-21 17:46 UTC by Steve Dibb
Modified: 2013-07-03 03:31 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Steve Dibb 2005-02-21 17:46:07 UTC
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.
Comment 1 Gerald (Jerry) Carter (dead mail address) 2005-03-07 16:21:09 UTC
jelmer, feel free to do what you want with this one.  smbget 
is your tool.
Comment 2 Jelmer Vernooij 2005-03-08 15:06:39 UTC
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.
Comment 3 Volker Lendecke 2005-03-09 00:32:29 UTC
Hmmmm. Several days??? Don't get me wrong, but can't you choose an appropriate
small blocksize and insert sleeps before smbget.c:383?

Comment 4 Jelmer Vernooij 2005-03-15 09:15:21 UTC
Reopening. Volker has convinced me that it's probably easier to implement this
as I thought as first.
Comment 5 Gerald (Jerry) Carter (dead mail address) 2005-09-29 04:51:02 UTC
bug open too long without any progress.  Closing as LATER.