IIS FTP Server - User ends up in a wrong root/home directory

This is Interesting: Free IT Magazines  
Home > Archive > IIS FTP Server > March 2004 > User ends up in a wrong root/home 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 User ends up in a wrong root/home directory
Val V.

2004-03-11, 6:35 pm

my IIS 5.0 FTP server is configured for root directory e:\data\html.
I have only one user called 'upload'. This user created a directory
under e:\data\html\ called 'upload' so the full path is now
e:\data\html\upload. What happens how is this user automatically ends
up in this directory e:\data\html\upload because FTP server thinks
this is the home directory of that user. How can I tell FTP not to be
smart and stay at e:\data\html.

Please kindly help.

Thank You.

Val
Paul Lynch

2004-03-11, 7:35 pm

On 11 Mar 2004 15:34:14 -0800, vechnyak@yahoo.com (Val V.) wrote:

>my IIS 5.0 FTP server is configured for root directory e:\data\html.
>I have only one user called 'upload'. This user created a directory
>under e:\data\html\ called 'upload' so the full path is now
>e:\data\html\upload. What happens how is this user automatically ends
>up in this directory e:\data\html\upload because FTP server thinks
>this is the home directory of that user. How can I tell FTP not to be
>smart and stay at e:\data\html.
>
>Please kindly help.
>
>Thank You.
>
>Val


Val,

IIS is behaving as expected in this situation. By accident you have
created the conditions which are required in order to send users to
their own directories as per this article :

How To Set Up an FTP Site So That Users Log Onto Their Folders
http://support.microsoft.com/?id=201771


Regards,

Paul Lynch
MCSE
Val Vechnyak

2004-03-11, 7:35 pm

Ok, but how can I trick it not to do this? Is there anyway?

Its too late in the game to change the folder structure now.

Val V.

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Paul Lynch

2004-03-11, 7:35 pm

On Thu, 11 Mar 2004 16:08:25 -0800, Val Vechnyak <vechnyak@yahoo.com>
wrote:

>Ok, but how can I trick it not to do this? Is there anyway?
>
>Its too late in the game to change the folder structure now.
>
>Val V.
>
>*** Sent via Developersdex http://www.developersdex.com ***
>Don't just participate in USENET...get rewarded for it!


The only way I can think of 'fixing' it is by making a slight change
to the directory structure. You could try creating an extra level in
your physical folder structure so that the user is dropped into their
new home folder like this :

e:\data\html\upload becomes this e:\data\html\upload\upload

IIS should drop the user into e:\data\html\upload as their home folder
and they should then see a sub-directory called upload.

That's all I can think of here I'm afraid.


Regards,

Paul Lynch
MCSE
Bernard

2004-03-11, 10:38 pm

Err.. or either create a new users call 'uploads'
or change the 'upload' folder name to 'uploads'

the trick is make sure the folder and username are not the same.

--
Regards,
Bernard Cheah
http://support.microsoft.com/
http://www.msmvps.com/bernard/


"Paul Lynch" <paul.lynch@nospam.com> wrote in message
news:nb02505hpm1j1akjb8musp0asmid7ff83v@
4ax.com...
> On Thu, 11 Mar 2004 16:08:25 -0800, Val Vechnyak <vechnyak@yahoo.com>
> wrote:
>
>
> The only way I can think of 'fixing' it is by making a slight change
> to the directory structure. You could try creating an extra level in
> your physical folder structure so that the user is dropped into their
> new home folder like this :
>
> e:\data\html\upload becomes this e:\data\html\upload\upload
>
> IIS should drop the user into e:\data\html\upload as their home folder
> and they should then see a sub-directory called upload.
>
> That's all I can think of here I'm afraid.
>
>
> Regards,
>
> Paul Lynch
> MCSE



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com