RSS

HTA: Adding IIS FTP Virtual Directories

04 Mar

I wrote this HTA script because I wanted simple GUI to handover to my 1st level support. MS IIS do come with some Vbscripts to manage iis ftp virtual directories, but it does not allow you to add ftp vdir pointing to unc paths, also in our setup, we have write access to the ftp vdir, which was not in the MS IIS script.

  • We have 3 FTP servers which we manage in TKY, HKG and SGP.
  • The script allows the user to choose which FTP server to add new VDir to.
  • Remember that you must change the SiteID for.
  • Also the server name is based on FTP<Site>, e.g. FTPHKG, you should change it based on your own naming convention

The script includes some templates that you can use for future HTA scripts, like HTASleep command and a TextArea to update messages as you are processing them, via WriteToLog or DisplayText functions. A form close function is also included (instead of click on the “X” to close)

Evidently, I could not have created the entire script by myself out of thin air, a lot of the codes are taken and modified from the web and forums and also Windows guys in my current and previous jobs.

Click link to down script and remove the “.doc” extension and unzip it: FTPMgr.hta

Advertisements
 
6 Comments

Posted by on March 4, 2008 in Scripts, Windows

 

Tags: ,

6 responses to “HTA: Adding IIS FTP Virtual Directories

  1. HTA Scripter

    March 20, 2008 at 1:02 pm

    Wow , thanks for the script. what can be done with hta is actually endless !

    btw, check out this website http://www.vbs2exe.com/ to convert your hta files into EXE

    Regards,

     
  2. Dan

    September 18, 2009 at 3:49 am

    Hi, it seems your provider has killed the script from your site… Any chance you could email me a copy?
    thanks dan.

     
    • saltwetfish

      September 28, 2009 at 4:33 pm

      Hi Dan,

      Sent you the hta file and also update the link above

       
  3. saltwetfish

    September 21, 2009 at 2:07 pm

    You are right, I named it as DOC file and it was marked as “dangerous contents” I guess I need to upload them as TXT file next time.. Will upload again this week and let you know.

     
  4. Andy

    April 28, 2010 at 1:21 pm

    Could you email me the hta file as well? It was removed from your post again. Thanks!

     
    • saltwetfish

      April 28, 2010 at 2:55 pm

      The link is back again… sorry about that

       

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: