The trip by ferry took 20 minutes to complete . Before the bridge was built , San Francisco was the biggest American city still served mostly by ferries . The trip from the San Francisco Ferry Building took 27 minutes .