View Full Version : FTP Mistake
Janmarques
23-Mar-2007, 06:44 PM
Hi all,
I installed your script once again!
Now I've a problem with the server port.
It's 8076, do you have any idea how to set it?
Janmarques
28-Mar-2007, 02:25 PM
Noone has any idea?
I don't mind changing some corefiles when needed...
Derek
29-Mar-2007, 05:00 AM
Hey,
Sorry for the late reply. You could try changing the Domain setting to include the port maybe. Try making it yourdomain.com:8076.
Janmarques
29-Mar-2007, 07:37 AM
Does not solve the problem...
I tried installing on some of my other accounts, and they ALL give the error "Could not login to the ftp server.".
Tough, I'm sure the settings are correct.
Are you sure there isn't a bug in the script?
Derek
29-Mar-2007, 09:48 PM
Oops, I didn't realize you meant the FTP port, I thought you meant the webserver port. Please undo the domain setting and change it back to what it was before. Here is how to change the FTP port...
Open nbs/class_ftp.php
Find:
$this->connection = @ftp_connect($server);
Replace With:
$this->connection = @ftp_connect($server, 'your_ftp_port');
Close and Save class_ftp.php.
Janmarques
30-Mar-2007, 09:55 AM
OK, that does not solve my problem...
Any other idea?
Derek
30-Mar-2007, 11:56 AM
I have no other ideas. That should have fixed it as it is specifying the port your FTP server is on...