Piratas Do Vale Do Silicio Dublado Pt Br Pirates Of Silicon Now

  • Anum

    It was a great help. Thanks a Bunch !!!

  • gary

    thanks for sharing!

  • Lester

    Works well thanks. However my php script hangs and won’t even exit() after using this method. Any thoughts?

  • Lester

    sorry e-mail incorrect should be .com

  • drokind

    I personally like phpseclib, a pure PHP SFTP implementation, better.

    More info:

    http://phpseclib.sourceforge.net/

    Doesn’t have any dependencies, making it ultra-portable, and, surprisingly, it’s actually faster than libssh2.

  • th3_w3b

    Great! It Works! Thanks!

  • jcrawford

    This is great but don’t expect to use it on directories with a large number of files (mine has 29,516). I am getting nothing but segmentation faults when trying to get a list of files on the remote server. Yea I know it’s not good to have that many files in a directory but that server is not under my control. Seems there is a deep issue either in PHP’s core or in php_ssh2 library.

  • Mauro Trentini

    PHP Warning: opendir(): Unable to open ssh2.sftp://Resource id #25/ on remote host

    PHP Warning: opendir(ssh2.sftp://Resource id #25/): failed to open dir: operation failed

    PHP Warning: readdir() expects parameter 1 to be resource, boolean given

    Fixed it following this link -> http://stackoverflow.com/questions/1466737/cant-get-sftp-to-work-in-php

  • Daniel Williams

    http://www.monstaftp.com offers SFTP/SCP as well as normal FTP through a web-based client that’s free to download. (disclaimer: I’m involved with this project)

  • Calin Blaga

    If getting:
    PHP Warning: opendir(): Unable to open ssh2.sftp://Resource id #5/outgoing on remote host
    check: stackoverflow.com/questions/1466737/cant-get-sftp-to-work-in-php#answer-42412427