FR 817 then FR 5346 at Dublin
Edinburgh → Dublin → Katowice
Timetable, Dublin time
12:50FR 817 from Edinburgh at the gate
05:55FR 5346 to Katowice leaves the gate
17 h 05 apart on the timetable, overnight
FR 5346 leaves 17 h 05 after FR 817 arrives on the timetable: more than half a day, so not a connection we count.