How to Beat Level 6 on Portal

Place a portal on the ceiling, use the machine and fan to gain height, then place a portal on the floor to cross the gap. The timing is tricky, so experiment carefully.