SFTP on Windows PC
Posted: Sun Dec 25, 2011 6:05 pm
I have searched everywhere for a detailed description of how to set up a php sftp client on a windows 7 machine. I found that you have to compile using visual c++ however the instructions are vague at best and all have at least one step that doesn't work. I ended up using phpseclip but would like to know if anyone has gone through this pain staking process with success. Please do not refer me to http://wiki.php.net/internals/windows/stepbystepbuild becuase a bison.exe error, b flex.exe will be a problem and c once you get past these problems this command doesn't work "configure --disable-all --enable-cli --enable-$remains". Now once you get through all of these issues you realize that there are no clear instructions on how to get the ssl_connect function to work on the windows platform. Bottom line, I am able to compile php on my windows box. I added libbssh2.lib into the deps directory. I compiled php with all of this in there. Although where the deps directory needs to reside is not real clear. Or for that matter where the libssh2.lib should be during the compilation. As you can see I have spent many hours and days trying to find the solution and each trail leads to a dead end. Any step by step instructions on how to get ssl_connect() to work on a windows pc would be greatly appreciated. Please do not refer me to a link that you have not tried yourself.