You might have better luck with phpseclib's Net_SFTP, which uses fsockopen:
http://phpseclib.sourceforge.net/documentation/net.html#net_sftp_example
Good luck!
On Thu, Jul 29, 2010 at 12:13 PM, Scott Teresi wrote:
> I'm attempting to send a file over SFTP in PHP, but all the examples I find
> o
http://www.php.net/manual/en/function.ssh2-scp-send.php
2010/7/29 Scott Teresi :
> I'm attempting to send a file over SFTP in PHP, but all the examples I find
> online do something like this:
--
WBR, Dmitrii
+375 29 60-LINUX, 25-LINUX, 40-LINUX
icq: 193-74-771
www.varvashenia.ru, www.seoder.ru
I'm attempting to send a file over SFTP in PHP, but all the examples I find
online do something like this:
$stream = @fopen("ssh2.sftp://xx";, 'w');
@fwrite($stream, $data_to_send)
This requires "allow_url_fopen" to be enabled on the server, to get a stream
for the remote fi
3 matches
Mail list logo