|
Home > Archive > IIS FTP Server > February 2004 > IIS FTP and Virtual Directories
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 |
IIS FTP and Virtual Directories
|
|
| =?Utf-8?B?TGVlIEJyb3du?= 2004-01-31, 8:34 am |
| Greetings!
I am running an FTP site on IIS 5.0 from a serverless (peer) network. Users cannot see any virtual folders using the "dir" command, though the "cd" comand will take them to it without any problems.
I had heard that you can place a physical folder on the FTP site with the same name as the virtual folder which will show up using "dir" and the "cd" command will take the user to the virtual folder. Alas, this did not work.
Any Suggestions?
| |
| Paul Lynch 2004-02-02, 1:35 am |
| On Sat, 31 Jan 2004 13:16:09 -0800, Lee Brown <leebrown@leebrown.org>
wrote:
quote:
>Greetings!
>
>I am running an FTP site on IIS 5.0 from a serverless (peer) network. Users cannot see any virtual folders using the "dir" command, though the "cd" comand will take them to it without any problems.
>
>I had heard that you can place a physical folder on the FTP site with the same name as the virtual folder which will show up using "dir" and the "cd" command will take the user to the virtual folder. Alas, this did not work.
>
>Any Suggestions?
>
Lee,
Follow these instructions and it should work :
When I create a virtual directory the users cant see it, how can they
see this directory?
http://www.iisfaq.com/default.aspx?View=A46&P=14
Regards,
Paul Lynch
MCSE
| |
| Abe Klagsbrun [MSFT] 2004-02-04, 6:41 am |
| Lee,
Here's a method similar to the one Paul posted. It's from an upcoming
refresh of the IIS6 docs, but should work equally well for IIS5.
Making an FTP virtual directory visible to users
You can configure your FTP site so that a user browsing the site sees a
directory entry for a virtual directory. While the directory entry the user
sees is a physical directory, when the user navigates into the physical
directory, the contents listed are actually of a virtual directory you have
specified. This is possible because IIS lists virtual paths before listing
physical paths. This makes it appear to the user that they are seeing the
contents of a physical directory, when in fact they are seeing the content
in a virtual directory.
To make an FTP virtual directory visible to users
1.. Create a physical directory in the user's home FTP directory. For
example, if your FTP site is configured for user isolation, the user's home
directory will either be LocalUser\Public (for anonymous users), or
LocalUser\username (for authenticated users).
2.. In IIS Manager, expand the local computer, expand the FTP Sites
folder, expand the FTP site to which you want to add a virtual directory,
right-click the site or folder within which you wish to create the virtual
directory, point to New, and then click Virtual Directory.
3.. Click Next.
4.. In the Alias box, type the name for the virtual directory and click
Next.
Important The alias must exactly match the name of the directory you
created in step 1.
5.. In the Directory box, type the path to, or browse to the physical
directory where the content for this virtual directory resides, and click
Next.
6.. Under Allow the following permissions, select the check boxes next to
the access permissions appropriate to your needs, and click Next.
7.. Click Finish. The virtual directory is created within the FTP site.
When a user browses the FTP site, the physical directory you created in
step 1 is displayed in the folder listing. When the user then navigates to
the physical directory, however, the content of the redirected virtual
directory is actually displayed
Note You can also use this procedure with nested virtual directories
----------------------------
"Lee Brown" <leebrown@leebrown.org> wrote in message
news:75B705B6-DC45-4F57-BE44-1ABC7494C0A1@microsoft.com...quote:
> Greetings!
>
> I am running an FTP site on IIS 5.0 from a serverless (peer) network.
Users cannot see any virtual folders using the "dir" command, though the
"cd" comand will take them to it without any problems.quote:
>
> I had heard that you can place a physical folder on the FTP site with the
same name as the virtual folder which will show up using "dir" and the "cd"
command will take the user to the virtual folder. Alas, this did not work.quote:
>
> Any Suggestions?
>
>
|
|
|
|
|