PDA

View Full Version : Script Bug?


30-Jan-2004, 02:09 PM
Today seems bug report day :-)
Do the following.
Create a session (I called it profile in my last post) with 2 different folders (left and right) and enter "Comparison Control" Form (Toolbarbutton is called criteria).
Select size&CRC or binary comparison. Both works out the same. I leaved other settings unchanged (compare timestamp and auto campare in background is on, everything else is off)
Save the session.
Now write a script as follows:

load "atest"
sync update:lt->rt

Start the script and ... well, on my machine it loads forever and does not finish. btw, nothing happens, no hd is working, no CPU is needed?!?

If Compare Contents is set to Size only, everything works out fine.

Regards

03-Feb-2004, 08:39 AM
Were u able to verify that error?
Regards

Craig
03-Feb-2004, 02:34 PM
Are you testing the script with the scripting window visible? I tried repeating this here and everything worked fine. I haven't extensively tested scripting with FTP synchs, but it worked alright just now.

There is one possibility, but it should have been pretty obvious if you were testing the script interactively. It can stop and ask for confirmations when overwriting read-only & system files, and could ask for a password if you were doing an FTP synch. You can get around the confirmations by adding the line option confirm:yes-to-all before the sync line. If the script is run non-interactively (eg scheduled or using /silent), it will use no-to-all by default.