Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Connect From FTP server to Localhost

Status
Not open for further replies.

Zainhabib

Technical User
Oct 15, 2005
9
US
I have apache downloaded, the latest version with php and mysql. I want to setup FTP access to localhost. I currently have 2 domains for my localhost, and I've googled the whole day, and I still don't understand how to do it. I have no firewall at all. I am connected to a router, I already enabled port 80 for it. I downloaded FileZilla (Server) but I'm having problems connecting. Can you please guide me on how to precisely connect to my localhost. I do it by, File>Connect to server:
Server Address: 127.0.0.1 (localhost)
Port: 21 or 14124 I try either, none work.
I left the password box blank, cause I do not have a password and don't know where to create one or how. Please explain that.
I check the box where it says, Always connect to this sever.
This is the error I get:

Error, could not connect to server
Trying to reconnect in 5 seconds
Reconnecting to server...
Error, could not connect to server
Trying to reconnect in 5 seconds

Error I get with SmartFTP

Connecting to 127.0.0.1 Port: 21
No connection could be made because the target machine actively refused it.
Client closed the connection.
Cannot login waiting to retry (30s)...
Active Help:
My questions are .. How/where do I create a user pass? Where do i connect? Do I have to download anything special? HOW DO I CONNECT!! I try downloading Apache FTP Server but I don't know how to install it. The .bat files just execute and close. Please fill me in.
 
Hi

Maybe I am missinformed, but never heard about Apache FTP Server. Apache is HTTP server. Do you installed any ftp module for it or something ?

There are web servers which can serve on FTP protocol too, but is not the case of Apache.

Is the port 21 at least open on that machine ?

Feherke.
 
I didn't install an FTP module for it. All I downloaded were some FTP servers. I have Filezilla server. That doesn't connect. I need a username and password, which I don't know where to setup or how. I turned off my firewall. I'm not exactly sure on how to enable port 21 on my router. But besides my router its enabled. I have access to my router, but I just don't know how to enable it.
 
First of all don't get confused Apache is a service totally not linked at all with FileZilla with you need to do is to be sure that the FTP Service is up and running you can do that with the task manager or netstat at the command prompt.


But don't mix the two concepts, Apache and a FTP Server are two different animals that they are not linked in no-way.

===================================
Never underestimate the power of stupid people in big numbers
===================================
 
Ah okay, more problems here. When i go to my ip address which is 67.186.125.204 it doesn't show the directory for my apache server anymore. It used to, I have no idea what happened. Besides that, I just did a system restore and I really need FTP Access to chmod files and do quicker stuff. So can someone please tell me STEP BY STEP on what to download and what to do! I need a username!!!!!! a password!!!!!!!!! and FTP Server!!!!!!!!! please tell me how I should do this!
 
First of all, which operating system are you using for the apache server? Do you have access to it so the you can install software? Do you have to access the apache server remotely to upload files? What is the OS of the machine you will be using to ftp into the server?
 
I am using Windows XP and the I have the latest version of the apache server. I have access to the apache folder and everything. I do not have access remotely. Im going to be using windows xp using the ftp into the server.
 
That is what does not make sense to us. Why do you need ftp if you have access to the apache server? Just copy the files directly into your DocumentRoot.
 
Right but sometimes, I install scripts and I need to chmod files and transfer files from one another. I also may need access through a remote computer, so it always comes in handy to setup FTP Access.
 
You don't need chmod. You are running Windows and chmod is specific to unix/linux. You will need to download an ftp server from or do a google search for free ftp servers and install it on the same machine as apache. After installing it you will need to setup the configuration. That is where you will create a list of users and passwords in addition to assigning them their webspace. Once this is done, you will need an ftp client. To connect to you will need to enter the domain name and user/password you gave yourself and you should be brought to your website's directory. As you can see, this has absolutely nothing to do with apache. The only connection is that they can share the same directories.
 
Similar threads are hanging around the site but answers seem vague.

Question is :
I have apache running on XP. While online with an known IP, I can access my local apache htdocs resides on directory C:\\
NOW, how to set up ftp on this apache so I can connect with a ftp client >>> quetion is not to find what ftp client to USE! how to set a user and password ??

Being a novice I hope a solution can be posted with some little patience so we all starters can understand easily.

I have a similar question. Again, being a starter I know very little about configuration around apache. All I am using local apache server is to test my projects. I can access my webroot on local machine form remote like << is IP of my local server at home.
What I would like to find out is this >>> As it seems all the files that resides on apache webroot which happens to be C:\\ are accessible through http, >>> is there a way to set access control like on unix server where say a folder c:\\ or/and a file c:\\ can be set as private ie requiring authentication ???

This all sums up to >> how to set user and password on apache for http access or/and ftp access??
Thanks.
 
The point that everyone is trying to make is: apache web server & any ftp server are not in any way related.

You can have either one without the other. You can also have both, but most of the questions that your asking have nothing to do with apache web server. The questions relate to the FTP server (wether apache is installed or not). To find the answer to your remote access problems, will require that you research your FTP server support info (documentation, discussion groups, etc).


Now, as for private, authenticated directories on the apache web server, see And just to be clear: this is for authenticated viewing of a folder or directory on an apache web server with a web browser. This has nothing to do with transferring files or changing permissions.
 
Thanks for the link Smah. I have gone through that page before but to find myself more confused.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top