Solved

FTP Virtual Directory from a program or a script

Posted on 1998-02-23
3
270 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
ID: 1571074
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
ID: 1571075
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:
bbao earned 100 total points
ID: 1571076
Web based admin page of IIS could do that, why dont you view its source file?
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A brief overview to explain gateways, default gateways and static routes OR NO - you CANNOT have two default gateways on the same server, PC or other Windows-based network device. In simple terms a gateway is formed when a computer such as a serv…
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 …
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

809 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