I am a Newbie Nitwit. Here's the problem session: rsync -tvv rsync.dsbl.org::dsbl/rbldns-fresh-list.dsbl.org opening tcp connection to rsync.dsbl.org port 873 rsync: The server is configured to refuse --recursive (-r) rsync error: requested action not supported (code 4) at clientserver.c(473) rsync: connection unexpectedly closed (4 bytes received so far) [receiver] rsync error: error in rsync protocol data stream (code 12) at io.c(359) What am I doing incorrectly? Thanks ________________________________________________________________________ Total Quality Management - A Commitment to Excellence http://www.TQMcube.com
On Sat, 22 Jan 2005, David Cary Hart <rsync@TQMcube.com> wrote:> I am a Newbie Nitwit.Welcome!> Here's the problem session: > > rsync -tvv rsync.dsbl.org::dsbl/rbldns-fresh-list.dsbl.org > opening tcp connection to rsync.dsbl.org port 873 > rsync: The server is configured to refuse --recursive (-r) > rsync error: requested action not supported (code 4) at > clientserver.c(473) > rsync: connection unexpectedly closed (4 bytes received so far) > [receiver] > rsync error: error in rsync protocol data stream (code 12) at > io.c(359) > > What am I doing incorrectly?The "requested action not supported" apparently refers to the absence of a target to receive the file. That certainly is not a helpful error message, is it? To save the file by the same name in the working directory, append a " .": rsync -tv rsync.dsbl.org::dsbl/rbldns-fresh-list.dsbl.org . Hope that helps. Worked for me. -- John Van Essen Univ of MN Alumnus <vanes002@umn.edu>
On Sat, 2005-01-22 at 11:08 -0600, John Van Essen wrote:> On Sat, 22 Jan 2005, David Cary Hart <rsync@TQMcube.com> wrote: > > I am a Newbie Nitwit.> That certainly is not a helpful error message, is it? > > To save the file by the same name in the working directory, append a " .": > > rsync -tv rsync.dsbl.org::dsbl/rbldns-fresh-list.dsbl.org . > > Hope that helps. Worked for me.Thank you very much
Just for completeness, let me mention why this error occurs:> rsync: The server is configured to refuse --recursive (-r)... even when no -r was specified:> rsync -tvv rsync.dsbl.org::dsbl/rbldns-fresh-list.dsbl.orgThe reason is that a sad kluge was put into rsync long ago to make list-mode more useful. Instead of adding a --list-mode option for the client to auto-specify for the server (which is what should have been done), the code was made to send a combination of --exclude="/*/*" and -r to the sender as a way to get the contents of a single directory. This means that a server that is configured to refuse -r (via the "refuse options" setting in rsyncd.conf) won't let a user list a single file. It's a difficult task to fix this at this late stage and remain backward-compatible with older versions. I have an idea of how to make this a little better, though, and I may go ahead and implement it. ..wayne..