title: PHP ssh2_scp_send sometimes fails
body: <p>I'm using ssh2_scp_send to send one file from server1 to server2.</p>
  
  <p>It works almost 80% of the times, but sometimes fails and I can't find any log message and i don't know why!</p>
  
  <p>the command only return one bool value saying if it was sucessfull.</p>
  
  <p><a href="http://www.phpbuilder.com/manual/en/function.ssh2-scp-send.php" rel="nofollow noreferrer">ssh2_scp_send</a></p>
  
  <p>Where can I find some log message or any of you had one similar problem?</p>
  
  <p>Thanks,<br>
  Pedro<br>
  @pedro</p>