FTP PHP Connect To SFPT
#5

figured it out what i did is as follows.
Код:
<?php
global $config;
$local_file = "dmap_feed.json";
$connection = ssh2_connect('removed', 22);
ssh2_auth_password($connection, 'username', 'password');

ssh2_scp_recv($connection, '/remotefile', '/local/file');

$config['api key']='ABQIAAAAs4hWYZkFgUCmji8OXGEWhRSksbxBFPegAttWA_e4E3REnVZ2ahTH-L1GBwSzV3-OuBv0_8-shNpqtQ';
$config['default script'] = 'dmap_feed.json';
$config['allow external'] = true;

?>
Reply


Messages In This Thread
FTP PHP Connect To SFPT - by Robert_Crawford - 05.10.2011, 04:05
Re: FTP PHP Connect To SFPT - by Tye Huntley - 05.10.2011, 04:07
Re: FTP PHP Connect To SFPT - by Robert_Crawford - 05.10.2011, 04:10
Re: FTP PHP Connect To SFPT - by Tye Huntley - 05.10.2011, 04:18
Re: FTP PHP Connect To SFPT - by Robert_Crawford - 05.10.2011, 04:44
Re: FTP PHP Connect To SFPT - by BlazeFury - 05.10.2011, 04:59
Re: FTP PHP Connect To SFPT - by Mrkrabz - 05.10.2011, 13:49

Forum Jump:


Users browsing this thread: 2 Guest(s)