PDA

View Full Version : FTP not connecting


Hal Davey
4th of April 2004 (Sun), 13:51
I am having a bit of trouble (understatement) getting the FTP server connected. I have EE 1.5 RC3 installed.
I am testing locally with PHP 4.2.3/MySQL 4a/Apache1.3.27 on my machine.
Firstly EE reports that the PHP FTP Module is installed.
Then to quote the FTP Server Setup ;
"You will need to know:

1. ftp server name, ftp username and ftp password
2. ftp path to EE folder

How to find these out?

1. FTP SERVER NAME, FTP USERNAME AND FTP PASSWORD

These are same ones you used when uploading EE files to your server"

I don't use an FTP program to upload my files/folders locally.

So on the basis of looking throughout the EE forum I concluded that the
FTP server name for my use might be just "localhost". but it gives "no conect" error. I have tried every variation of server name that I can think of; localhost, ftp.localhost, 127.0.0.1 and so on. No go.
I have tried using all possible combinations of passwords and usernames also with no results. The only username and passwords that I have installed on my local set-up, are for MySQL and EE - so which username and password is being referenced for FTP server?

I'm not getting anywhere on connecting the ftp server - What am I missing?
Harold

Pekka
4th of April 2004 (Sun), 14:45
I'm not getting anywhere on connecting the ftp server - What am I missing?
Harold

Most likely you are missing ftp server (daemon in Unix jargon). You may also need some ftp program to get initial path info.

It sounds like you are running your server in Windows (unix has ftp included). Serv-U is an easy to install and good ftp server which is free for personal use: http://www.serv-u.com/versions.asp

Setting up ftp server is easy: you create a new user with pass (those are what you did not have) and then define which directories on your machine you can access with that account. The server is accessed from address localhost, or 127.0.0.1

To browse to your ftp server you'll need a client, http://www.smartftp.com/ is quite good, easy and free. You will only need that to find out your ftp path (connect to localhost ftp, browse to your ee installation and give command PWD which prints your working directory. That is the "ftp path to EE folder". Once this is set up EE handles all file transfers with ftp.

I use above programs in Windows XP to test EE. Please note that you will need to set the ftp server to allow connect only from localhost IP to make it secure (or set your firewall accordingly).

tommykjensen
4th of April 2004 (Sun), 14:49
You need to install a ftp server and configure a userid.

You could try Serv U (http://www.serv-u.com/customer/record.asp?prod=su) if Your server is a windows server.

It is free. The first 30 days it works as the proffesional version then it turns into a personal which should be enough. I have it running on my w2k server currently.

Hal Davey
4th of April 2004 (Sun), 16:31
Pekka and Tommy; Thanks for the kind advice. I'll get busy later on that. I have a saying "you don't know, what it is, that you don't know." and it fits the bill here.
Cheers,
Harold