Error on Uploading Program to ESP8266 via Foca v2.2 (USB to TTL Adapter)
by the comments I think you are not understanding correctly how to connect Reset and GPIO_0 of ESP. To set esp-01 into flash mode (to program) you need to set GPIO_0 Low (GND) and then also apply Low on RST ESP pin.
To debug the things and be certain that there is no hardware problem let just start by doing these connections:

Foca v2.2 &lt;-&gt; ESP =1
      TXD &lt;-&gt; RXD
      RXD &lt;-&gt; TXD
      GND &lt;-&gt; GND
  Arduino &lt;-&gt; ESP 01
     3.3V &lt;-&gt; 3.3V
     3.3V &lt;-&gt; CH_PD
     GND  &lt;-&gt; GND


Now, with a wire, connect GPIO_0 to ground. With another wire, briefly connect RST of the ground to make ESP reset. You should be now in flash mode. Remove the connection on GPIO_0 and make it float. Now upload the code.

Note: this is basically the option C on the link you provide. If you have some buttons you can make it too:

(source: arduinesp.com)  

Now, does the code upload in Arduino IDE?

If the answer is still no, try to add a small capacitor between 3.3v and ground.

If the answer is yes, now you can move on and try the other options described in the link you provide. I recommend using the option A:


(source: arduinesp.com)  

Any generic npn transistor should work