RE: [PHP] sftp connecting to remove server via php
| From: | Jay Blanchard | Date: | Tue, 11 Dec 2007 20:08:09 +0000 |
| Subject: | RE: [PHP] sftp connecting to remove server via php | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-265708@lists.php.net to get a copy of this message | ||
[snip]
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?
[/snip]
http://www.php.net/ftp
http://www.php.net/ftp_get