Re: [newtech-1] rsync error codes

From: Avi D.
Sent on: Monday, May 12, 2008 2:05 PM
http://samba.anu.edu.au/ftp/rsync/rsync.html

Go down to almost the end of the page for the big heading "Exit Values."

--
Avi Deitcher
Atomic Inc.
[address removed]

On Mon, May 12, 2008 at 2:04 PM, EddieN <[address removed]> wrote:
People:

I'm working on an app that will use rsync to do the uploading of files to a number of servers, and I now need to expand its functionality. Two of the things I want to add is:

  • if the file you want to upload is in a subfolder on the local machine that does not exist on the remote machine, rsync should report this to the front-end as an error (and perhaps prompt you with the option "Do you want to create the subfolder on the remote machine?")
  • any error that results from using rsync should be reported as an error to the front-end
In order to do these, I need a list of the error codes that rsync returns; the only one that I know for sure is that if the upload is successful, rsync returns 0 :)

Does anyone know where I can get a comprehensive list of error codes/error messages returned by rsync? Thanks in advance.

Eddie, who, in the spirit of Mother's Day, has decided to withdraw his "tagline infringement" suit against soulsonic :o)

--
Success is a lousy teacher. It seduces smart people into thinking they can't lose. -- Bill Gates



--
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by EddieN ([address removed]) from NY Tech Meetup.
To learn more about EddieN, visit his/her member profile
To unsubscribe or to update your mailing list settings, click here

Meetup Support: [address removed]
632 Broadway New York NY 10012 USA

Our Sponsors

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy