Run ReadCodeLine(expected) till code != StatusLoggedIn && expected == StatusPathCreated
Need to rerun this to get PWD working in some servers