sftp connecting to remove server via php
| From: | blackwater dev | Date: | Tue, 11 Dec 2007 20:01:50 +0000 |
| Subject: | sftp connecting to remove server via php | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-265707@lists.php.net to get a copy of this message | ||
I have to write a script that will connect to a remove server using sftp and
pull in specific files for processing. Currently I can get to the server by
just using sftp myname@server. How can I open these files via php? Is the
only way to use fopen with the PECL sftp, ssh2 modules?
Thanks!