IIS FTP Server - How to use a Virtual Directory

This is Interesting: Free IT Magazines  
Home > Archive > IIS FTP Server > September 2005 > How to use a Virtual Directory





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author How to use a Virtual Directory
Anil Gupte

2005-09-21, 2:50 am

In IIS I created a virtual directory under a website and also under the
corresponding FTP site. However, when I ftp into the site, I cannot see the
virtual directory although I can see a real directory. The Virtual
directory is in the root of the drive and the website/FTP site is under
\wwwroot.

Any help will be appreciated.

Thanx,
--
Anil Gupte



Chris Crowe [MVP]

2005-09-21, 5:54 pm

One of the IIS Strange Features

Say your FTP Root is

c:\inetpub\ftpsites\mysite
Virtual Directory "Test" points to "c:\inetpub\TEST"

What you need to do is create a physical directory in
"c:\inetpub\ftpsites\mysite" called "test" so you end up with
"c:\inetpub\ftpsites\mysite\test"

You will then see the directory "Test" when you log onto the ftp site and
when you change to the folder "test" the content will come from the virtual
directory!

Strange ah?

--
Cheers

Chris

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


"Anil Gupte" <anil-list@maxnetwork.com> wrote in message
news:eQ8r%236mvFHA.3188@TK2MSFTNGP14.phx.gbl...
> In IIS I created a virtual directory under a website and also under the
> corresponding FTP site. However, when I ftp into the site, I cannot see
> the virtual directory although I can see a real directory. The Virtual
> directory is in the root of the drive and the website/FTP site is under
> \wwwroot.
>
> Any help will be appreciated.
>
> Thanx,
> --
> Anil Gupte
>
>
>



Anil Gupte

2005-09-22, 2:49 am

That is not strange that is corny! And what is cornier is that it worked!
Boy, that is one for a hall of fame!

Thanx much for your help.
--
Anil Gupte

"Chris Crowe [MVP]" <IISMVP2005@iisfaq.homeip.net> wrote in message
news:e5cxUEtvFHA.2728@TK2MSFTNGP14.phx.gbl...
> One of the IIS Strange Features
>
> Say your FTP Root is
>
> c:\inetpub\ftpsites\mysite
> Virtual Directory "Test" points to "c:\inetpub\TEST"
>
> What you need to do is create a physical directory in
> "c:\inetpub\ftpsites\mysite" called "test" so you end up with
> "c:\inetpub\ftpsites\mysite\test"
>
> You will then see the directory "Test" when you log onto the ftp site and
> when you change to the folder "test" the content will come from the
> virtual directory!
>
> Strange ah?
>
> --
> Cheers
>
> Chris
>
> Chris Crowe [IIS MVP]
> http://blog.crowe.co.nz
>
>
> "Anil Gupte" <anil-list@maxnetwork.com> wrote in message
> news:eQ8r%236mvFHA.3188@TK2MSFTNGP14.phx.gbl...
>
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com