all groups > iis ftp > february 2006 >
You're in the

iis ftp

group:

2003 server iis ftp auto create new directories


2003 server iis ftp auto create new directories jo
2/28/2006 9:48:10 PM
iis ftp: Hello guys.

I'm using FTP from server 2003 in isolation mode without AD. Works
great without any problems. I tried isolation with AD which also works
great but I don't like to write vb scripts to set FTPRoot/FTPDir for
thousands of users and after that other scripts to check which user has
and which doesn't have the right settings. I'm not good with vbs...
anyway. So, back to the point.

I'd like to be able to create FTP directory for my users on-a-fly. If
the FTP directory for an AD users doesn't exist I'd like to be auto
created. I've thousand of users and it's not very easy to create
manually directory for each one.

There is an option in AD profile which we are using to create
directories automatically but in that case first it's already in use,
and it's not an option in my case =(

I'm looking on the net to find anything but so far I was unable to.

Please, help me.

Thank you in advance.
Re: 2003 server iis ftp auto create new directories jo
3/1/2006 12:10:58 PM
Hey Chris,

Amazing tool! Thanks a bunch. The only down side I could see at the
moment (again: I'm so far away from an expert, even from an advanced
level) is that the admin password could be seen at the time I'm typing
it.

I understand why the directories are not created at the moment.
Actually it's not very smart that we cannot point FTPRoot in such
format as \\server\path\to\ftproot, so we have to put it as
local:\path\to\ftproot. It has a good and a bad side. The good side is
that we can have multiple ftp servers with the same directory structure
and could command the user from AD with a single variable as soon as
there is a directory for that user on the ftp server. The bad side is
if we have more then a single ftp server but with different directory
structure, or if we want the tool to create a directory will be a pain.

In your case the directory creation could be imported in the tool but
only if we are running it on the local machine. Otherwise has to be
much more complicated. It could be done remote as an administrator
but... what if there are multiple ftp servers?

I'm running just a single ftp on all my WAN and this tool just saved my
life. I hope I'll convince (half way done) our windows admin to agree
with me (I'm the UNIX/Net engineer guy).

I just switched back to 3 (Isolate Users with Active Directory) from 2
(Isolate Users). It's much more flexible.

Chris, thanks again. I appreciate what you have done. It's a great
thing. Really! If you improve anything please let me know.

PS The problem with the first time login directory creation still stays
in front of me =)
Re: 2003 server iis ftp auto create new directories jo
3/1/2006 7:42:44 PM
Mega nice! Thanks, Chris.
Re: 2003 server iis ftp auto create new directories Chris Crowe [ IIS MVP 1997 -> 2006 ]
3/2/2006 12:00:00 AM
Good find on the Password - I have fixed that and put a new version online.

I have also uploaded the full source code in c# for the application.

http://blog.crowe.co.nz/archive/2006/03/03/590.aspx

--


Cheers

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

[quoted text, click to view]

Re: 2003 server iis ftp auto create new directories Chris Crowe [MVP 1997 -> 2006]
3/2/2006 12:00:00 AM
I have a tool that will allow you to assign those folders to a users
account - at this time it does not create the folder for the user.

Can you let me know how you would think this could be used in regards to the
application I have written.

Details can be seen at : http://blog.crowe.co.nz/archive/2006/02/15/556.aspx

--

Cheers

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


[quoted text, click to view]

AddThis Social Bookmark Button