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