Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

What kind of error? How do you check for exit code?
Guest

hm i tried to generate an error, exit code still 0

:(
Marcel

Fine but then i have a "true" or a "false". problem is, i need to report detail information -> what files failed and why they failed.
martin

Re: /log in script automation - Question!

You should check for exit code of the script instead of parsing a log file. Please read FAQ.
Marcel

/log in script automation - Question!

Hiyo!

I wrote a small vb.net application which help me to back up my folders with sftp. the synchronize script work fine and the data get saves successful.

i want to implement some kind of error notification if something fail while synchronize (for example permissions or whatever). so i use the parameter "/script=c:\errorlog.txt".

my problem is, this script get pretty huge. (1 mb per 10 mb syncronized files) and even if no error accured the log is huge. its ok, i understand why - but is there any option that only errors come in the log? it would make it much easyer to test the success after the batch run.

THX!