UID must be returned by ftpAccessDriver::getRemoteUserId (it is passed as the $remoteDetecionCallback), i'll push the right code.