PS. Don't forget the extension depends on the ssh2 library. You can get the library src at: http://www.libssh2.org/ If you don't feel like compiling them, Simon Josefsson has a windows build available at: http://josefsson.org/gnutls4win/libssh2-1.2.1.zip He offers many gnu builds for windows. http://josefsson.org/gnutls4win/
Felipe Recalde Creative Director mobile~~956::622:5002 twitter~~padrelife fax~~(888) 292-1929 On Dec 23, 2009, at 10:06 AM, Doug Boude wrote: > Thank you very much for the link and info. For the life of me, I > still cannot lay my hands on that dll though...the links that are > supposedly a direct link to it give a 404. Anybody have ssh2_dll for > php 4.9.9 that they can just email me? > > On Wed, Dec 23, 2009 at 9:53 AM, Felipe Recalde <designdr...@me.com> > wrote: > Did you enable the ssh2 php extension? Check your php.ini...or > phpinfo(); > > If so, do you have a firewall blocking the outbound traffic on that > port? > > Gluck and feel free to dm me with further questions @padrelife. > > > http://www.nusphere.com/kb/phpmanual/ref.ssh2.htm > > Windows binaries may be found at http://snaps.php.net/. To install, > download php_ssh2.dll to the folder specified by your php.ini > file'sextension_dir directive. Enable it by adding > extension=php_ssh2.dll to your php.ini and restarting your webserver. > extension_dir=c:/php5/exts/ > extension=php_ssh2.dll > > > Sent from my iPhone > > On Dec 23, 2009, at 9:44 AM, Doug Boude <dougbo...@gmail.com> wrote: > >> Hi all! I realize everyone is winding down bigtime for the holiday, >> but if you could just put your thinking cap back on for a quick >> second... >> >> I am using PHP 4.9.9 in Windows 2008 server on IIS7; what I need is >> to be able to upload files to a remote server using SFTP. I have >> googled my frickin head off, and though I can find lots of dots and >> clues, I can't find anything that allows me to connect those dots >> into an understanding of exactly what I need to do to enable this >> ability in my environment. >> >> Can someone who already understands the needed libraries and >> configuration please, please give me this holiday gift and >> enlighten me? I would SO appreciate it! >> >> Currently, it appears to me that the way I need/want to go is to be >> able to utilize SSH2, as in the following code snippet: >> >> $conn = ssh2_connect('ftp.mysite.com'); >> ssh2_auth_password($conn, 'username', 'password'); >> ssh2_scp_send($conn, 'testfile.txt', '/staging/testfile.txt', 0644); >> >> I would very much love to get my environment configured so that the >> snippet above actually works. >> >> Thank you very much in advance! >> >> Doug Boude :0) >> >> -- >> Our Web site: http://www.RefreshAustin.org/ >> >> You received this message because you are subscribed to the Google >> Groups "Refresh Austin" group. >> >> [ Posting ] >> To post to this group, send email to Refresh-Austin@googlegroups.com >> Job-related postings should follow http://tr.im/refreshaustinjobspolicy >> We do not accept job posts from recruiters. >> >> [ Unsubscribe ] >> To unsubscribe from this group, send email to >> refresh-austin-unsubscr...@googlegroups.com >> >> [ More Info ] >> For more options, visit this group at >> http://groups.google.com/group/Refresh-Austin > > > -- > Our Web site: http://www.RefreshAustin.org/ > > You received this message because you are subscribed to the Google > Groups "Refresh Austin" group. > > [ Posting ] > To post to this group, send email to Refresh-Austin@googlegroups.com > Job-related postings should follow http://tr.im/ > refreshaustinjobspolicy > We do not accept job posts from recruiters. > > [ Unsubscribe ] > To unsubscribe from this group, send email to > refresh-austin-unsubscr...@googlegroups.com > > [ More Info ] > For more options, visit this group at > http://groups.google.com/group/Refresh-Austin > > > -- > Our Web site: http://www.RefreshAustin.org/ > > You received this message because you are subscribed to the Google > Groups "Refresh Austin" group. > > [ Posting ] > To post to this group, send email to Refresh-Austin@googlegroups.com > Job-related postings should follow http://tr.im/ > refreshaustinjobspolicy > We do not accept job posts from recruiters. > > [ Unsubscribe ] > To unsubscribe from this group, send email to > refresh-austin-unsubscr...@googlegroups.com > > [ More Info ] > For more options, visit this group at > http://groups.google.com/group/Refresh-Austin -- Our Web site: http://www.RefreshAustin.org/ You received this message because you are subscribed to the Google Groups "Refresh Austin" group. [ Posting ] To post to this group, send email to Refresh-Austin@googlegroups.com Job-related postings should follow http://tr.im/refreshaustinjobspolicy We do not accept job posts from recruiters. [ Unsubscribe ] To unsubscribe from this group, send email to refresh-austin-unsubscr...@googlegroups.com [ More Info ] For more options, visit this group at http://groups.google.com/group/Refresh-Austin