Salt * Wet * Bytes

March 4, 2008

HTA: Adding IIS FTP Virtual Directories

Filed under: AdminScripts — saltwetfish @ 9:31 am
Tags: ,

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

4 Comments »

  1. 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,

    Comment by HTA Scripter — March 20, 2008 @ 1:02 pm | Reply

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

    Comment by Dan — September 18, 2009 @ 3:49 am | Reply

    • Hi Dan,

      Sent you the hta file and also update the link above

      Comment by saltwetfish — September 28, 2009 @ 4:33 pm | Reply

  3. 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.

    Comment by saltwetfish — September 21, 2009 @ 2:07 pm | Reply


RSS feed for comments on this post. TrackBack URI

Leave a comment

Blog at WordPress.com.