Re: sftp connecting to remove server via php

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 myname@server.  How can I open these files via php?
> Is the
> only way to use fopen with the PECL sftp, ssh2 modules?

You could probably re-write all that code yourself, so it's not the
ONLY way, but, yeah, the only simple way, probably...

It should be pretty easy, really...

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/from/lynch
Yeah, I get a buck. So?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux