Community discussion forum

Mastering IIS FTP

This is a comment thread discussing Mastering IIS FTP
  • 9 years ago

    This thread is for discussions of Mastering IIS FTP.

  • Advertisement

    Simply the fastest line-level profiler for .NET ever

    “The low overhead means it has minimal impact on the execution of my program”
    Mark Everest, Development Team Leader, Renault F1 Team Ltd.

    Try out the new ANTS Profiler 4 for yourself. Download your 14-day trial now

  • 3 years ago

    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!

  • 3 years ago

    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.  

  • 3 years ago

    Nice! Cheers for those extra tips, Eric

  • 3 years ago

     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?

  • 2 years ago

    This is great!  Easy to understand article, and works perfectly (at least for me!)

  • 1 year ago

    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!

  • 1 year ago

    Excellent how-to, thanks!

     

    Regards

    Matt

Post a reply

Enter your message below

Sign in or Join us (it's free).