I think I've been labeling my table wrong all the time, I always thought of the rail near the racking area as the foot rail. Anyway, I guess we're talking about the diagram Hal posted.
Are the balls frozen? If they're truly perfectly frozen, a known shot to send the upper ball into either corner is to cut it a bit towards that pocket with a ton of draw (but you can't hit it hard - the best way I can describe it is soft extreme draw). The draw puts topspin on the first ball, and nearly simultaneously the second ball pops out of the way, and the topspin can carry the first ball to the foot rail. Then it's just a matter of how much cut to make it carry to the pocket. It only works if they're really nicely frozen. If there's even a hair of air between them, the draw effect is greatly reduced to the point where reaching the foot rail is impossible.
I've only ever tried this with the cue ball more or less dead center on the head spot. I don't know if this exact shot is possible from so far to the side, and with so much distance.
Bottom line is about the same: it's a trick shot, not really a practical thing to use in games, tho I love to try it in funsies games.