Ogdensburg man jailed after resisting arrest