Solved

FTP Virtual Directory from a program or a script

Posted on 1998-02-23
3
242 Views
Last Modified: 2013-12-23
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
alexandrov@bar.ru
alexeia@orc.ru
0
Comment
Question by:xRain
3 Comments
 

Expert Comment

by:sbotha
Comment Utility
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.
0
 
LVL 1

Expert Comment

by:trumps007
Comment Utility
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!

Trumps
0
 
LVL 37

Accepted Solution

by:
Bing CISM / CISSP earned 100 total points
Comment Utility
Web based admin page of IIS could do that, why dont you view its source file?
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Nslookup is a command line driven utility supplied as part of most Windows operating systems that can reveal information related to domain names and the Internet Protocol (IP) addresses associated with them. In simple terms, it is a tool that can …
Many of us in IT utilize a combination of roaming profiles and folder redirection to ensure user information carries over from one workstation to another; in my environment, it was to enable virtualization without needing a separate desktop for each…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now