Re: sftp connecting to remove server via php

From: Date: Sat, 15 Dec 2007 18:11:08 +0000
Subject: Re: sftp connecting to remove server via php
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-265933@lists.php.net to get a copy of this message
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?

« previous php.general (#265933) next »