Error on Uploading Program to ESP8266 via Foca v2.2 (USB to TTL Adapter)
You nead to connect pin marked ch_pd on your esp module to vcc and also pin gp100 to ground to enable flashing mode. Once flashing is complete reboot without gp100 connect to ground and all should be fine.They use quiet a bit of current so you might nead an external power for the esp module as your ttl converter wont supply enough current.

Connection

Foca v2.2 &lt;-&gt; ESP8266
        TXD &lt;-&gt; RXD
        RXD &lt;-&gt; TXD
        DTR &lt;-&gt; RST

Arduino UNO &lt;-&gt; ESP8266
        GND &lt;-&gt; GND
       3.3V &lt;-&gt; Vcc
       3.3V &lt;-&gt; CH_PD
        GND &lt;-&gt; GPIO0


Result



visit http://www.esp8266basic.com/flashing-instructions.htm