As S.T. Joshi points out in his introductions to the new Penguin editions of James’ stories, James’ Victorian predecessors, like Gaskell, Dickens, and Doyle (although his “Lot No. 249” may have had an influence on “Oh, Whistle”), mostly held to more traditional, passive conceptions of ghosts. James, however, made his spirits much more malevolent, sometimes even, in the case of “Canon Alberic’s Scrap-book”, bestial and, in so doing, more effective. However, I would point out that some of J.S. LeFanu’s ghosts, like the judge in “An Account of Some Strange Disturbances in Aungier Street”, are also quite aggressively evil. It should be noted that James actually edited a collection of LeFanu’s stories.
Though rather tame by contemporary standards of horror, James’ influence extends to the present day, and stories influenced by his work can easily be found in All Hallows: The Journal of the Ghost Story Society. In fact, while re-reading “Oh, Whistle”, I became aware of its likely influence on another one of the all-time great ghost stories—F. Marion Crawford’s “The Upper Berth”.