Solved

How to create A script to Add New FTP User and Directory

Posted on 2014-01-11
3
329 Views
Last Modified: 2014-01-17
Hi,
I want to design a script or bat file that automatically creates a new FTP  directory and adds a new FTP user login in IIS.but Script should be run from Remote Location .
0
Comment
Question by:Karunakar Tiwari
3 Comments
 
LVL 15

Assisted Solution

by:Jaroslav Mraz
Jaroslav Mraz earned 166 total points
ID: 39773218
Hi,

You will ned to use powershell here is some example for ftp

http://balamurugankailasam.blogspot.sk/2012/10/creating-ftp-site-map-ftp-folder-and.html

Powershell script can be managed and run remotly

Here is some examples an requirements list

http://technet.microsoft.com/en-us/library/dd819505.aspx
0
 
LVL 9

Accepted Solution

by:
Vijaya Reddy Pinnapa Reddy earned 167 total points
ID: 39773232
Check this site, it may help you in your case
http://poshcode.org/685
0
 
LVL 77

Assisted Solution

by:arnold
arnold earned 167 total points
ID: 39773495
Create a secured admin URL, that will add the entry into a database as a record.
Then you would have a powershell, vbscript that will run as a scheduled tasks looking at that database and performs the tasks.

As a security measure, make sure there is an approval mechanism that is accessed via a different insterface.

You've not included the version of IIS, IIS 7 and newer have a command line tool.
Net user to create a user
Appcmd to create IIS virtual FTP folder which using %username% which IIS will match when %username% logs in.

Cacls can be used to set permissions.

Vbscript/powershell include error detection/checking which might be more complex in  a bat script.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

My purpose is to describe the basic concepts of virtual memory as implemented in a modern Windows-based operating system. I will also describe the problems inherent in older systems and how virtual memory solves them. The dark ages - before virtu…
by Nathan Brom/Bromy2004 Introduction There are numerous websites out there for any different type of program you can imagine.  Of those, you'll need to decide which ones are legitimate and aren't trying to steal your money or infect your comput…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

807 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