Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
phpnoob (i dont in anyway claim to know what im talking about, I just copy and paste) looking for some help after seeing 147 results returned searching for my answer in this forums and still cant see it.
I am setting up a stats php process called vspstats for our game server, the other 2 i did were using ftp port 21 as the originator of the php expected. This one I am doing now is only able to offer me port 22. My FTP client gets in there ok to see the data so now I need to know if I can modify the php that details the romte ftp connection to include the port number.
This is the existing codeCode: Select all
// Remote downloading of logs
$cfg['ftp']['logs_path']= "./ftplogs/"; // Files downloaded from ftp server will go into this directory on local server.
$cfg['ftp']['username'] = "xxx";
$cfg['ftp']['password'] = "xxx";
$cfg['ftp']['pasv'] = 1; // Enable(1)/Disable(0) Passive mode. Some FTP servers may require this to be ON
$cfg['ftp']['overwrite'] = 0; // Enable(1)/Disable(0) overwriting of file(s). A value of 0 resumes the log.feyd | Please use
Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]