FR 6274 then LA 5745 at Barcelona
Edinburgh → Barcelona → Porto
Timetable, Barcelona time
21:00FR 6274 from Edinburgh at the gate
12:20LA 5745 to Porto leaves the gate
15 h 20 apart on the timetable, overnight
LA 5745 leaves 15 h 20 after FR 6274 arrives on the timetable: more than half a day, so not a connection we count.