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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

connect through a ftp client

Status
Not open for further replies.

ZSakke

Programmer
Jul 17, 2005
1
BE
Hey,
I 'm develloping a site in php and got a problem with my apache server, I got Apache up and running for local use (localhost), but nog I need to be able to connect it trough a ftp client (to chmod some files), but I can't.
I use "192.168.2.101" as adres (gives the same as localhost in my browser) and tried "80" and "2828" (last one is REMOTE_PORT according to my phpinfo()) as ports.
But it doesn't seem to work, what am I doing wrong?
Thanx in advance.

ZSakke
 
Your ftp client is using port 21 to connect to your site. Apache listens on port 80. You cannot do what you want through apache. You will need to get an ftp server. Most linux distros come bundles with at least one but I like proftpd. You will also need to configure ftp to let your ftp users execute some shell commands such as chmod.

 
ZSakke,

What RhythmAce said is correct, if you need FTP to upload files. If all you need to do is chmod and you're likely to be the only one doing it, you could use Telnet/SSH. Most Linux distros come with Telnet/SSH servers as well.

Wishdiak
A+, Network+, Security+, MCSA: Security 2003
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top