Re: Rsync Daemon Remote Pull

2020-06-27 Thread Wayne Davison via rsync
On Sat, Jun 27, 2020 at 7:17 AM Chandrasekar Natarajan wrote: > Kindly help me to resolve this. > One thing you can do is to change the initial command from "rsync" to "/usr/bin/rsync" (if that is where the real command is installed in your setup) in order to try to avoid any script & shell

Re: Rsync Daemon Remote Pull

2020-06-27 Thread Chandrasekar Natarajan via rsync
Hi Wayne, Thanks for your reply. This is the command I am using now(a simple command) *rsync -vrcz --port u...@x.x.x.xx::Module1 '/cygdrive/d/test 123/'* This is the exception 'Unexpected remote arg: User@x.x.x.x::Module1 rsync error: syntax or usage error (code 1) at main.c(1361)

Re: Rsync Daemon Remote Pull

2020-06-26 Thread Wayne Davison via rsync
On Thu, Jun 25, 2020 at 3:02 PM Chandrasekar Natarajan wrote: > Unexpected remote arg: user@x.x.x.x:port/module > This means that your non-option args starts with a local arg, contains a remote arg somewhere in the middle, and ends with either a local or remote arg. None of those are valid

Re: Rsync Daemon Remote Pull

2020-06-26 Thread Chandrasekar Natarajan via rsync
Hi, Even I tried the same syntax but failed. But push is working fine. rsync: Unexpected remote arg: user@x.x.x.x::module. > On 26-Jun-2020, at 5:22 AM, Kevin Korb wrote: > > user@x.x.x.x:port/ModuleName is not correct syntax. You may have > something in your shell config translating that

Re: Rsync Daemon Remote Pull

2020-06-25 Thread Kevin Korb via rsync
user@x.x.x.x:port/ModuleName is not correct syntax. You may have something in your shell config translating that for you. Correct syntax is --port and user@host::module On 6/25/20 6:01 PM, Chandrasekar Natarajan via rsync wrote: > Hi, > > I am trying to pull folders from a windows remote

Rsync Daemon Remote Pull

2020-06-25 Thread Chandrasekar Natarajan via rsync
Hi, I am trying to pull folders from a windows remote machine using daemon without SSH. Below is the command that used: rsync -vrtz --delete user@x.x.x.x:port/ModuleName '/cygdrive/d/backup/' No issue running the same command in Command Prompt.While executing this command via c#.net Process