Community discussion forum
Mastering IIS FTP
-
This thread is for discussions of Mastering IIS FTP.
-
Thank you for the article. It explains why I have used Microsoft FTP on my 2003 server for a year and never managed to land in the right directory! Now I can take a good look at the structure and re-organise it!
-
I've been using these techniques since NT 4.0's Option Pack. People just don't know how powerful the built-in stuff is. And now with quota management and AD, it can be very powerful in an ISP hosted environment (it's what I use).
Another tip: You can create sub-Virtual directories, but they must be from within the FTP's VDs. I often create Unix-like links for users to get into certain directories of my domains. For example, say we have a domain called "domain.com". On my server, that would be:
E:\Users\eric.duncan\domain.com\www\default.aspx
Say I want to give Jim Bob access to this domain, but not to all of the domains under my username. But there's a problem, the user already has access to their own directory:
E:\Users\jim.bob\
This user accesses their account via the IIS FTP service's virtual directory called "jim.bob":
FTP Sites
-- Public FTP
------ jim.bob (which points to the user's Home directory above)
What I do is create an empty directory (described in this article) named the domain + lnk, but this directoy is in the user's normal Home directory:
E:\Users\jim.bob\domain.com.lnk
And then create a sub-virtual directory, named the same under the user:
FTP Sites
-- Public FTP
------ jim.bob
---------- domain.com.lnk
Now when the user logs in, they will see their home directory, with a new directory named domain.com.lnk. Changing directories to this location forces the FTP's virtual directory to change it's location to my directory:
E:\Users\eric.duncan\domain.com\www\
Just remember to give jim.bob access to that directory, else he will get an Access Denied.
Oh, that was another tip: To set permissions, do it at the physical-directory level (as I've done above). Mix it all with quotas, and there isn't a reason for me to use anything else.
-
Nice! Cheers for those extra tips, Eric

-
Wow! That easy. Thanx this one really solved a lot of problems for me!
One question though, (Please note that I am a complete newby at this), Why does my servers performance drop (signifficantly!) every time a user uploads / downloads any item? On larger downloads this actually causes some of my sites to drop completely.
Obviously this must have something to do with the priorities on the server, but how do I adjust these priorities if indeed that is where the problem lies?
-
This is great! Easy to understand article, and works perfectly (at least for me!)
-
This was just what I was looking for. I'm running multiple websites on my w2k3 server but was in need for a good solution to excess them via FTP. The simplicity is amazing. Thanx for the readthru, keep up the good work!
-
Excellent how-to, thanks!
Regards
Matt
-
Thanks Orcs!!! Excelent tutorial, just a pity that you have to create a dummy Master FTP location because users need list contents privalges. This means that i will have to know create individual user acccounts for all the virtual sites i have running!!! Will look at user isolation if this can be resolved better and hoping that iis 7 makes this job easier or may consider going down the LAMP route and getting into Apache, seems these days all the best jobs are know based around open source tech, ruby, php etc!!! Anyways, thanks again for a great tutorial!!!
-
Great article. Look forward to user isolation. I actually pointed to your article from my own blog. Thanks again.
!--removed tag-->
Post a reply
Quick links
Recent activity
- Michael Kellock replied to How to set paper size in Pa...
- Version Smith replied to How to convert DVD and vide...
- Version Smith replied to How to transfer or copy so...
- Version Smith replied to How to transfer ipod nano 5...
- Lovely Liezl Lomibao replied to bar graphs in visual basic.net
- Lovely Liezl Lomibao replied to bar graphs in visual basic.net
Enter your message below
Sign in or Join us (it's free).