addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobegmailgooglegroupshelp-with-circleimageimagesinstagramlinklocation-pinm-swarmSearchmailmessagesminusmoremuplabelShape 3 + Rectangle 1ShapeoutlookpersonJoin Group on CardStartprice-ribbonShapeShapeShapeShapeImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruserwarningyahoo

rsync error codes

From: EddieN
Sent on: Monday, May 12, 2008 2:03 PM

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

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