My trusty index of Scots songs gives us this:
JESSIE, THE FLOWER O’ DUNBLANE (The sun has gane down o’er the lofty Ben Lomond) Music by R. A. Smith. First published in the Scots Magazine, March 1808. With music in: G. F. Graham (ed.), Wood’s Songs of Scotland (1850), II.88: John Greig, Scots Minstrelsie III 306 (?1900 or so). More recently in "Lyric Gems of Scotland" (London: Bayley & Ferguson, no date), 144. Also in some undated books issued by Whaley, Royce, and Tomlyn. The tune is if I remember in O'Neill's "Waifs & Strays" book by reason of its typically Celtic melody.
Words only in many collections, including: Blackwell's "Book of Scottish Songs" (1875), 156 ["The Flower o’ Dunblane"]; Robert Ford, "Harp of Perthshire" (1893), 408 ["The Flower o’ Dunblane"], etc. etc.
Tomlyn; Whaley, Royce 134 (+ m.); etc.