accessing multiple FTP sites...

B

Brad Pears

We have an FTP site set up as read only on our Win2K server. Now I have been
asked to create a second FTP site which will be read/write. I have been
asked to keep the two sites separate.

I have gone ahead and created a new FTP site and it is "running".

My question is this, a user accesses our original FTP site from the internet
by entering ftp://ftp.ourdomainname.com in their web browser. They would
then be asked for logon credentials and presto, they would be presented with
the appropriate set of folders in the browser.

Now that we have two FTP sites in two entirely different directories, how
would one access the other ftp site? I am assuming they would have to
specify an additional "path" such as ftp://ftp.ourdomainname.com/ftppathname
where pathname would represent the location of the other FTP site but I am
unsure what exactly would go in there.

Help!

Thanks,

Brad
 
S

Simon

There are 2 ways to go here.

1. Your server has multiple IP addresses and each site is set to respond to
a different IP address. Your DNS the points ftp1.domain.com to one IP,
ftp2... to another and so on. (or penguin.domain.com or anything you want.)

2. You have one IP address but each site is set to respond on a different
port. The default ftp port is 21 but you can set each site's port to be
anything you want, although you need to choose a port that is not already in
use on your server - its probably best to choose one above 1024 - I usually
use 2121, 2122 etc when setting multple ftp sites. The user then types
ftp://ftp.ourdomainname.com:2121 (or whatever) to access the required site.

Simon
 
B

Brad Pears

Great, thanks for your help in this matter!

Simon said:
There are 2 ways to go here.

1. Your server has multiple IP addresses and each site is set to respond to
a different IP address. Your DNS the points ftp1.domain.com to one IP,
ftp2... to another and so on. (or penguin.domain.com or anything you want.)

2. You have one IP address but each site is set to respond on a different
port. The default ftp port is 21 but you can set each site's port to be
anything you want, although you need to choose a port that is not already in
use on your server - its probably best to choose one above 1024 - I usually
use 2121, 2122 etc when setting multple ftp sites. The user then types
ftp://ftp.ourdomainname.com:2121 (or whatever) to access the required site.

Simon
 
B

Brad Pears

Simon, I set my 2nd FTP site to port 2122. The FTP site starts up no problem
with this setting ( by this I assume that port is available??). We have a
Firewbox 700 (Watchguard) and I have created a service to allow data on port
2122 to get throiugh the firewall.

However, each time I try to access the site as you mentioned i.e.
ftp://ftp.ourdomainname.com:2122, I do get the ftp logon screen but after
entering the appropriate username and password, I get the following error...

----------------------------------------------------------------------------
----------------------------------------
"An error occurred opening that folder on the FTP server. Make sure you have
permissions to access that folder"

Details:
200 Type set to A
500 Invalid port command
500 'LPRT 6,16,0,0,0,0,0,0,0,0,67,0,0,0,0,0,133,96,2,14,90': command not
found
----------------------------------------------------------------------------
----------------------------------------

The access rights are definately set. In fact just to make sure I gave the
'everyone' group full access. What I am wondering if the port I used '2122'
is maybe not available on my system for some reason? I say this only because
of the 'invalid port command' issues as part of the error...

Do you have any idea what might be happening here?

Thanks,

Brad
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top