Yes, it should be ALLTRIM() if it's file name not just a path. Otherwise the rest of the code has to be revised.
>Sergey,
>I am sure that is mistyping but IF the field update_path contains the file name
>
>updatepath = ADDBS(CONFIG_INFO.update_path)
>
>ADDBS will add an back slash after it. May be ALLTRIM() was the right function
--sb--