Solved

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

Posted on 2014-01-11
3
321 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 76

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

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

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…
Many admins will agree: WSUS is is a nice invention but using it on the client side when updating a newly installed computer is still time consuming as you have to do several reboots and furthermore, the procedure of installing updates, rebooting an…
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…

757 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

22 Experts available now in Live!

Get 1:1 Help Now