Lets try an example
Our user is called "XYZ" on the domain "DOMAIN"
Our users FTP Home is c:\inetpub\ftpsites\DOMAIN\XYZ
You create a virtual directory in IIS manager called "vdir1" which points to
"c:\testing\vdir1"
Now your user XYZ if he logs in now will not see "vdir1" but he could change
into "vdir1" and get a directory listing.
For the user to see the virtual directory when they log on you need to
create a physical directory called "vdir1" in
"c:\inetpub\ftpsites\DOMAIN\XYZ"
( this is about where you are now )
Now I assume from what you want are saying you want inside of "vdir1" to
create a virtual directory called say "vdir2"
In IIS Manager expand the FTP Site and select "vdir1" and create your new
Virtual Directory "vdir2" and point it to "c:\testing\vdir2" (or whereever
you want)
Now if the user knows that vdir2 exists he can change into that folder.
cwd /vdir1/vdir2
( I think you got to here )
Now all you need to do to make the vdir2 visible is to create a physical
directory called "vdir2" in the "c:\testing\vdir1" folder.
Simple isn't it.....
http://technet2.microsoft.com/WindowsServer/en/Library/5367e9a0-327a-4364-bb74-435d83e2b0c31033.mspx "Both virtual directories and physical directories (directories without an
alias) appear in IIS Manager"
The statement above is wrong for FTP....
"All this pointless complexity and seemingly lack of flexibility is very
surprising"
Well it is rather confusing - Microsoft is re-writing their FTP server for
the release with Vista so I hope they take conversations such as this and
make a decent ftp server.
They could have a simple option "[*] Show in directory listing" on their
dialog for a virtual directory and that would get around a lot of this and
of course enumerate the physcial directories for either a virtual or
physical directory in their IIS Manager.
--
Cheers
Chris Crowe [IIS MVP 1997 -> 2006]
http://blog.crowe.co.nz ------------------------------------------------
[quoted text, click to view] "Synapse Syndrome" <synapse@NOSPAMgomez404.elitemail.org> wrote in message
news:%23N0D2EgPGHA.3840@TK2MSFTNGP14.phx.gbl...
>
> "Synapse Syndrome" <synapse@NOSPAMgomez404.elitemail.org> wrote in message
> news:uX0tPpfPGHA.3016@tk2msftngp13.phx.gbl...
>>
>> "Synapse Syndrome" <synapse@NOSPAMgomez404.elitemail.org> wrote in
>> message news:%>
>>> Thanks for your reply Chris.
>>>
>>> I think I have got virtual directories working, but now that I have
>>> deleted and remade the site using Isolation Mode I'm not sure if they
>>> work yet as have come across another related obstacle. I can't figure
>>> out how to make a virtual folder in the [real] user root folder as they
>>> do not appear in IIS Manager.
>>>
>>> But this page says that they should: "Both virtual directories and
>>> physical directories (directories without an alias) appear in IIS
>>> Manager . A modified folder icon indicates a virtual directory."
>>>
>>>
http://technet2.microsoft.com/WindowsServer/en/Library/5367e9a0-327a-4364-bb74-435d83e2b0c31033.mspx >>>
>>> Have I got some setting wrong that is stopping me from seeing the real
>>> folders in IIS Manager along with the vitual folders? It seems
>>> impossible to do anything otherwise when using Isolation Mode.
>>
>>
>> PS. I should add that I have a user that can connect ok, but he can only
>> see what is in his root directory, and he can't navigate out of it. I
>> need to somehow put a virtual directory in his root directory, but as the
>> user root directory is a real folder it doesn't appear in IIS Manager so
>> I cannot make a virtual directory in it. This just has to be possible
>> somehow.
>>
>
> Hi again Chris
>
> I read your reply in the discussion "FTP isolation mode and Virtual FTP
> Directories", and then managed to make a real folder in the user root
> folder which was named the same as a virtual directory in IIS Manager, and
> the user can see the files in the virtual directory ok. But now, how can
> I make virtual directories within that virtual directory? I made another
> virtual directory within the root virtual directory in IIS Manager and
> then made a real folder within the real user folder with the same name,
> but as far as the user is concerned that folder is empty and cannot see
> the virtual contents. All this pointless complexity and seemingly lack of
> flexibility is very surprising.
>
> ss.
>