• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 332
  • Last Modified:

FTP Virtual Directory from a program or a script

I`m writting now a small CGI application. The work is almost complete, but still i have to make my little cgi program to call a VB or JS Script, which will create a Virtual directory on my FTP Server (like the one called mkwebdir.vbs). How can i write this script?
Please help me...

P.S. Sorry for my English...

Alexei Alexandrov
1 Solution
This is only a partial answer...  Check out the registry under "HKLM\System\CurrentControlSet\Services\MSFTPSVC\Parameters\Virtual Roots".  That's where MSFTP stores some of it's info.

Have your CGI program update the registry.  I don't know how to get the FTP service to reload the data short of stopping and starting it - that's probably a bit drastic though!!!!!

PS. I'll bet your English is better than my Russian.
I would check the registry also.  It's like on of those mysteries I can't solve, access to the NT user database.  Hopefully things will get easier in NT5 (HA!)

good luck!

bbaoIT ConsultantCommented:
Web based admin page of IIS could do that, why dont you view its source file?
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now