Solved

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

Posted on 2014-01-11
3
333 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 78

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

Business Impact of IT Communications

What are the business impacts of how well businesses communicate during an IT incident? Targeting, speed, and transparency all matter. Find out more in this infographic.

Question has a verified solution.

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

Suggested Solutions

In a hurry?.. scroll down to "HERE's HOW TO DO IT" Section. Greetings All, I was going to post this as question/solution, but its seems more appropriate as an article considering its length.  I felt it important to illucidate all the details c…
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 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…

738 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