Groups | Blog | Home
all groups > iis ftp > july 2006 >

iis ftp : 3 hdd partitions in root?



Mad Dog
7/21/2006 2:56:01 AM
Hi there,
Dont know how to explain this but will try my best.
I have computer running iis 6 on win 2003 server.This pc have 3 hdd that i
use to share files.I setup ftp in iis and everything works fine.The only
problem i have is following:
I have 3 hdd partitions name1 name2 name3.When user loggs in to
ftp://mysite.com they only see files in name1 hdd.This is because i have set
home directory to name1 hdd.What i would like is user to see name1,name2 and
name3 when they are in root of my ftp.The only solution i have now is that
user have to manually type in ftp://mysite.com/name2 or
ftp://mysite.com/name2.
is it possible with iis so that when user types in ftp://mysite.com and they
can see all 3 without typing the hdd name after.com?
This problem is also with iis 5.1 and earlier.Thought it might be fixed in
iis6,but seems like the limit is the same.
Would be really really nice if anyone could help me with this.


Mad Dog
7/21/2006 1:27:02 PM
Thanks m8!!it worked!!2 years of pain is gone!!!

Merry Christmas to you!!




[quoted text, click to view]
Chris Crowe [MVP 1997 -> 2006]
7/22/2006 12:00:00 AM
This behavour that you are seeing is an IIS FTP feature (strange as it is)

Basically what you need to do is this:

1) Set your FTP Home Directory to somewhere (say c:\inetpub\ftpsites\ftp)
2) Add a virtual directory to the FTP site maybe called Disk1 which points
to your content from Disk1, maybe c:\inetpub\ftpsites\Disk1Content
3) Repeat #2 above for Disk2 and Disk3

So now you have Disk1, Disk2, and Disk3 (or what ever names you used) as
virtual directories.

If you browse your FTP site you will be able to cd into Disk1 or Disk2 or
Disk3

From your message you are already at this point.

Now back in your FTP home directory you simply need to create physical 3
directories with the same name as the virtual directories you created.

Disk1
Disk2
Disk3

When you go back to the FTP root and do a directory listing you will now see
Disk1, Disk2, and Disk3

If you change directories into one of them you get the content from the
virutal directory and not the physcial directory.

Chris
--


Chris Crowe [ IIS MVP - 1997 - 2006 ]
http://blog.crowe.co.nz


[quoted text, click to view]

AddThis Social Bookmark Button