I need to SFTP a file via PHP/Linux. Actually, PHP 5.2.4/RHEL4/libssh 0.17. Installing the PECL ssh2 module is NOT an option since were running Zend Core 2, and the SSH2 module compiles, but segfaults when called.
However, The cURL website states that the lates version 7.18 supports SFTP. I can't seem to find any examples of this being utilized in an PHP script. Has anyone tested this or could anyone provide an example of howto SFTP a file without using the PECL SSH2 package?
Thanks