Re: [PHP] sftp connecting to remove server via php

2007-12-15 Thread Richard Lynch
On Tue, December 11, 2007 2:01 pm, blackwater dev wrote: 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 [EMAIL PROTECTED] How can I open these files via php? Is the

RE: [PHP] sftp connecting to remove server via php

2007-12-11 Thread Jay Blanchard
[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 [EMAIL PROTECTED] How can I open these files via php? Is the only way to use fopen with the PECL sftp, ssh2 modules?

RE: [PHP] sftp connecting to remove server via php

2007-12-11 Thread Jay Blanchard
[snip] Yes but will these handle sftp?  I have a key on the other server so don't need a password. [/snip] http://us.php.net/manual/en/function.ftp-ssl-connect.php always reply to all so the mail gets back on the list -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] sftp connecting to remove server via php

2007-12-11 Thread blackwater dev
Sorry, thanks for the info! On Dec 11, 2007 3:26 PM, Jay Blanchard [EMAIL PROTECTED] wrote: [snip] Yes but will these handle sftp? I have a key on the other server so don't need a password. [/snip] http://us.php.net/manual/en/function.ftp-ssl-connect.php always reply to all so the mail