• Apparently, there are missing SPs in your posted code, one of them was spGetDIRExists. Can you please post them too?

    Thanks in advance.

    🙂