Forums

PHP

This topic is locked

FTP access on Apache Win32 for PHPTriad?!?

Posted 27 Nov 2001 15:13:02
1
has voted
27 Nov 2001 15:13:02 TC McFall posted:
<img src=../images/dmxzone/forum/icon_smile_blush.gif border=0 align=middle>
ok- i am completely new to the PHP scene, and I am tackling not only PHP (thank you, God for Phakt!) but since I dual-boot my XP (IIS 5.1) with RH Linux 7.1, I am trying to get Apache under my belt as well. Now, just to make things fun (**sigh**) I am running PHPTriad from phpgeeks.com and all seems ok so far...but I am missing something obvious when it comes to configuring FTP access to the Apache 1.3 that is running...(as in "how?" ?)
I have gone through the httpd.conf file until I am blue and I don't see it there...I just don't know where else to look (grrr...)
I know we have some Triad users here and I am sure many of you know a great deal more than I when it comes to Apache (or when it comes to baking a pie for that matter...)
have anything for me?

thanx!
kr0m3




There are no "webmasters"...only "webstudents". Now, snatch the floppy from my hand, grasshopper.

Replies

Replied 27 Nov 2001 17:19:03
27 Nov 2001 17:19:03 Tim Green replied:
OK, to start with let's clear a few things up.

First of all, Apache doesn't handle FTP. Not at all, never. So trying to configure this via your Httpd.conf is never going to work.

Apache is an HTTP Daemon (or server) and is dedicated therefore solely to this task. To run FTP services you need to run an FTP Daemon on your Linux partition. There are a myriad of these available in RPM format that can be freely downloaded and installed.

Unfortunately though, your post is a little confusing, as you haven't mentioned which partition is going to be running the FTP service. If you are running Apache on your local WinXP machine, then you don't need to set up any FTP services at all. When configuring UltraDev, you just need to specify that the files are accessible via Local/Network, and then browse to the folder where these documents are stored. (probably in your Apache/htdocs folder).

When configuring your setup for application server (in the Define Sites dialogue) all you need to do is to ensure that you duplicate the Local/Network folder settings, and ensure that any reference to addresses are correctly completed to reflect your Apache setup.

Hope this helps <img src=../images/dmxzone/forum/icon_smile_wink.gif border=0 align=middle>


Tim Green

Extension & PHP TalkZone Manager
<font size=1>-------------------------------------------
<i>Please read the Forum FAQ before posting
a question to this TalkZone.</i>
-------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
-------------------------------------------</font id=size1>
Replied 27 Nov 2001 17:51:53
27 Nov 2001 17:51:53 TC McFall replied:
thanx!
I had suspected that Apache was entirely HTTP after digging around at apache.org, glad you confirmed! <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>
I have already set up UD for local access to the apache/htdocs folder (Win32) so that is not really the issue, however the projects that I am involved in deal with quite a bit of FTP transfers and functionality. I am used to IIS with FTP included and I understand that I can get add-ons in RH to achieve this with Apache...
Thank you very much for clarifying the issue for me, my head was getting full and fuzzy trying to figure this out!
I guess my real question at this stage would be:
Is there anyway I can achieve FTP functionality running W32 Apache on an XP box?

thanx again!
kr0m3

There are no "webmasters"...only "webstudents". Now, snatch the floppy from my hand, grasshopper.
Replied 27 Nov 2001 18:03:32
27 Nov 2001 18:03:32 Tim Green replied:
There are plenty of FTP servers available for Win32 machines, one of the ones to look out for is Serve-U FTP.

I wouldn't have thought that this kind of thing was absolutely critical though, except in one circumstance...

Are you looking to develop web pages that actually FTP to another location to download a file? If this is the case, then with PHP you don't need a separate server running to achieve this.

Let me know if this is what you are after and I will put together some code to demonstrate an example.

All the best


Tim Green

Extension & PHP TalkZone Manager
<font size=1>-------------------------------------------
<i>Please read the Forum FAQ before posting
a question to this TalkZone.</i>
-------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
-------------------------------------------</font id=size1>
Replied 27 Nov 2001 18:53:27
27 Nov 2001 18:53:27 TC McFall replied:
rawveg-
thanx again for the reply. i really appreciate your assistance in the matter. <img src=../images/dmxzone/forum/icon_smile_approve.gif border=0 align=middle>
in fact, yes that is a part of what i am trying to achieve (along with masking the source, etc...) however, let me say that i certainly do not expect you to spend all day putting something together for me! if it's a simple thing to prepare, i would love to see an example. if not, perhaps you could point me toward documentation and i will dig into it myself.
as far as the ftp running from a secondary server altogether non-connected with apache, I admit i was so focused into apache that the thought never crossed my mind...<img src=../images/dmxzone/forum/icon_smile_blackeye.gif border=0 align=middle>
my true passion is the design and the grafx so i am relatively new with back-end dev. im in the middle of a "learning-curve renaissance" right now that hopefully will balance out the ol' skillset a little bit. since I am running xp perhaps i will try iis's flavour...? i will also check the proggie that you pointed me to...
peace-
kr0m3

There are no "webmasters"...only "webstudents". Now, snatch the floppy from my hand, grasshopper.
Replied 28 Nov 2001 17:40:51
28 Nov 2001 17:40:51 Tim Green replied:
To find out all you could every hope to know about using PHP for FTP-ing visit:-

www.php.net/manual/en/ref.ftp.php

You will also find there useage examples, which will help you on your way.

As for the webserver, well using IIS that comes with XP is certainly not a bad idea, and it isn't too hard to set up, especially if you use the .msi distribution of PHP available from www.php.net.
Good Luck! <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>

Tim Green

Extension & PHP TalkZone Manager
<font size=1>-------------------------------------------
<i>Please read the Forum FAQ before posting
a question to this TalkZone.</i>
-------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
-------------------------------------------</font id=size1>
Replied 12 May 2006 03:54:58
12 May 2006 03:54:58 Muhammad Waqar Waqar replied:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>

Unfortunately though, your post is a little confusing, as you haven't mentioned which partition is going to be running the FTP service. If you are running Apache on your local WinXP machine, then you don't need to set up any FTP services at all. When configuring UltraDev, you just need to specify that the files are accessible via Local/Network, and then browse to the folder where these documents are stored. (probably in your Apache/htdocs folder).
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

hi sir can u explain it im using windows xp what is "configuring UltraDev" plz explain the procedure how it is posibel plz.
Replied 25 May 2006 01:20:53
25 May 2006 01:20:53 Derek McLean replied:
You could always do what I done and download <b>XAMPP</b>

XAMPP is a program you can download that is actually all of the following:

Apache
MySQL
PHP
Perl
Filezilla FTP

The cool thing about this is that they have coded all the stuff already to work with one another, and it doesn't put weird hard to find files in windows, the registry, etc. It is all self contained and works brilliant! You can also get it for linux - i just tried it out on fedora and it just <b>worked!</b> All I done was drag my htdocs folder and my mysql data over the network from windows to linux and i had it running on both machines!

Goto google, type XAMPP and make sure you're Feeling Lucky!!!!

Reply to this topic