ftp acces and port

Having problems installing EM? Let's fix that
Forum rules
DO NOT give out any FTP passwords to anyone! There is no reason to do so! If you need help badly enough, create a temporary FTP account that is restricted to only the files that you need help with and give the information for that. Giving out FTP information can be very dangerous!
Locked
kukacomone
Registered User
Posts: 2
Joined: Wed Apr 13, 2005 6:30 pm

ftp acces and port

Post by kukacomone » Wed Apr 13, 2005 6:35 pm

Hi.

I cant install easymod, because em cant connect to the ftp server. I think is this because my ftp port is not 21. But where should i write the ftp port? I try ftp.something.com:port, but this is dont work. Pls help.

User avatar
GPHemsley
Registered User
Posts: 1617
Joined: Fri Apr 18, 2003 4:01 am
Location: Long Beach, NY
Contact:

Re: ftp acces and port

Post by GPHemsley » Sat Apr 16, 2005 7:33 pm

Ugh, this is probably a legitimate limitation of EasyMOD.... To be sure, please post your entire Expanded Debug Info from whatever page of installation you can get it.

kukacomone
Registered User
Posts: 2
Joined: Wed Apr 13, 2005 6:30 pm

Re: ftp acces and port

Post by kukacomone » Tue Apr 19, 2005 9:17 pm

Easy mod said username or password not accpeted or like somthing that. I'm sure is this because the port!

I change:

in em_ftp.php

Code: Select all

function ftp_connect($server, $port = 21)
to

Code: Select all

function ftp_connect($server, $port = 49900)
But it isnt help.. :cry: :cry:

User avatar
GPHemsley
Registered User
Posts: 1617
Joined: Fri Apr 18, 2003 4:01 am
Location: Long Beach, NY
Contact:

Re: ftp acces and port

Post by GPHemsley » Tue Apr 19, 2005 9:19 pm

Hmm... that would only change the default port, but I'm guessing EasyMOD overrides that wherever it's calling the ftp_connect() function. I'll have to look into it....

User avatar
GPHemsley
Registered User
Posts: 1617
Joined: Fri Apr 18, 2003 4:01 am
Location: Long Beach, NY
Contact:

Re: ftp acces and port

Post by GPHemsley » Wed Apr 20, 2005 12:30 am

Upon further delving, I have determined that there is, in fact, no built-in support for a non-standard FTP port. I'm not sure how you would go about using FTP in that case, but if you post your Expanded Debug Info, maybe we can find a way around it.

Locked