I am using a windows XP-pro machine with Apache, MySQL, PHP, Pearl etc all seeming to be working; as a test server. On a seperate windows ME machine I am developing web pages with Studio MX. If I physically move the pages to the correct HTP folder that Apache is looking at. the product seems to work fine, but I am unable to connect to the server via the DW FTP / Remote Server site setup nor can I connect to the DataBase. The DW message I get is I may have entered the wrong filename or my name or password may be wrong.
If I try HTTP (via IP #) from a browser, I get the pages from the Apache server (Super), but if I try FTP from the browser with the same address, it replys "server not found on network"
I'm guessing that I must be connecting to a server, and since I have been using the dynamically assigned IP #, probably the correct machine, but for whatever reason I'm not connecting to the correct file, as I've tried every possible password username combination I own and tried changing the firewall on and off, tried passive FTP. I am not using IIS, it is not turned on. Any suggestions ????
Bill
No connection with FTP from local network
Let's try to understand your setup. Both you and the other computer are behind a gateway (and thus have the same IP, but are unreachable from the outside world)? You'll have to use either computer name or network IP to get to that computer.
Assuming you are 192.168.0.1 and the other is 192.168.0.2 (both are network loopbacks), you can use [url]ftp://user@pass:192.168.0.2:21/[/url] to connect from 192.168.0.1.
Is this what you're trying to do? If so, are you sure port 21 is open on the other computer? Also, can it connect to you (ping, etc) and vice versa?
An update to my last comm: Have tried FTP from DW, Browser and FTP (with new syntax) prog. to no avail. Response is: server not available on network (DW), Unknown Server (FTP) or a connection to the server could not be established (Explorer). I have tried running the Network diagnostics from XP-Pro but can't find any useful info there. Guessing port 21 is off; how do I turn it on ? Does it need to be on in both machines (the XP & the ME) ?
Well, the port would be a setting on the FTP server. If port 21 is available for opening (it'd give an error otherwise, or should), it will share that port. Can you FTP from the server to the server?
Open 127.0.0.1:21 (local loopback) or 192.168.0.x:21 (network loopback where x = the computer's number) in an FTP program on the server itself. See what happens.
Also, you can ping the other computer, right?
Bill,
what ftp server are you running? cos windows doesnt come with a ftp as standard.
Mordecai:
Not much luck with opening FTP from the RUN FTP command and typing "Open 127.0.0.1:21" or "Open 192.168.1.3:21. Regardless of where I start the program
from each of the above commands returns the same
"Host Unknown"
responses, on both computers.
There appears to be two FTP programs on the windows XP, one each in:
C:\WINDOWS\Service Pak Files\i386
and
C:\WINDOWS\System32
Peter:
They are, all three, described as Microsoft programs version 5.1.2600.1106
FYI I am using a WAMP intallation of Apache, PHP, MySQL etc, which included an FTP prog, it may be in the wordpad doc.
I have enclosed a wordpad doc with the search response for FTP from my XP.
Hate to admit it but I don't even know how to ping a machine.
Your persistance is much appreciated.
Bill
FTP search results:
FTP.EXE-0FFFB5A3.pf
FTP.EXE-050EC625.pf
Tftp.exe
Softpub.dll
Msieftp.dll
FTP.exe
Ftpsv251.dll
Ftp.exe
FTPExtensionMap.txt
Cfftp.gif
Cfftp.vtm
Cfftp.htm
Cfftp_co.htm
Cfftp_cb.htm
Cfftp_ca.htm
Cfftp_ac.htm
Cfftp.htm
FTPExtensionMap.lnk
It doesn't look like you actually have an ftp server installed. Try going to Cerberus FTP and downloading this server.
Piers:
I have downloaded the server and am able to access it from my ME machine. Thank you for your help. I guess there is a differenc between having a client FTP or a Server FTP program. I guess the Mac had both built in, as I was able to FTP Mac to Mac from day one. Again; Thanks, I hope I am able to work thru the setting up process so that I can place files in my htpdocs folder.
Bill
Cerberus is installed, and I am able to set up a passworded user and a virtual directory which takes me to the folder I am targeting. I can get there with either a mac or a pc browser, but not with the FTP program on either machine. typing "open 192.168.1.3:21" (less the quotes) or any combination of slashes "/" or leave out the 21 or add user xxx pwd xxx, the only response I get is unknown host. I have also tried Dreamweaver site setup and it tells me the host cannot be reached. I have a feeling I am tripped up on syntax.
I leave the server running, and try to access from either PC The one with the server and the one without via the FTP program which was on the machine & nothing.
With any browser I get access after entering username and password.
Bill
Hmm... can you access it by using 127.0.0.1:21 on the computer the server is located on? If not, it might be a port issue.
Getting close but don't know why.
Typing "open 127.0.0.1:21"
returns "Unknown Host"
Typing "open" (enter)
asks for host name. if I ENTER "127.0.0.1:21" OR "127.0.0.1" I GET UNKNOWN HOST; if I enter the computer name (The name I assigned the computer when I installed XP pro) it asks for the user name and then the password etc, and I'm in,,, I think.
At this point it returns the path which I have defined as my virtual path (on the server) for the user I logged in as.
From the other PC I can get to the same point by using the same process but replacing the computer name with the dynamically assigned IP address.
Major progress ?
I can't see any files, not sure what to do next.
I am using Dreamweaver and using the info You've helped me learn so far, am unable to make any connection, between server and program.
While in the ftp prog entering dir or ls does nothing. Is the fact that the open command must be entered alone of any significance ?
Thanks For your Help; Bill
127.0.0.1 is a network loopback that just means "current computer." Whenever you open an FTP connection to 127.0.0.1, you are opening a connection to the computer that is making the connection. If you try from another computer, it will try to connect to that computer.
If you can connect from another computer (if it asks for username/password, you've made a connection), then you are able to connect using 127.0.0.1, as well. (Otherwise no connections would work.)
As for it not showing files, that must be something wrong with your server setup. You'll have to refer to the docs for the server to find out how to share files to FTP users of your server.
Thanks for the help. I have made connection from Dreamweaver on the ME machine to the server on the XP machine, that was my original goal.
Bill