FR 6266 then FR 3035 at Barcelona
Edinburgh → Barcelona → Krakow
Timetable, Barcelona time
16:50FR 6266 from Edinburgh at the gate
09:35FR 3035 to Krakow leaves the gate
16 h 45 apart on the timetable, overnight
FR 3035 leaves 16 h 45 after FR 6266 arrives on the timetable: more than half a day, so not a connection we count.