?
Solved

Stop "FTP-Publishing" service by shell or code

Posted on 2002-03-26
2
Medium Priority
?
263 Views
Last Modified: 2013-12-28
Please give me a hint on how to stop the described service by a shell command or VB Script or VB.
Basicly I had the problem, that a public FTP folder was used as "trash". My VB Program on the NT machine can detect these files and folders, but not every one I was able to "kill" or "RmDir" by VB code, because of mysterious path names (e.g. like 5 blanc spaces).
The next workaround I would like to try is to stop the "FTP-Publishing" service by code/script/whatever, next to formatting the drive on which the ftp root folder is located on and last to start the service again (by code or just reboot the system).
Note: My system must run completely unattended, even while formatting.  

Thanx for any of your hints!

C.U.,
swdld
0
Comment
Question by:swdld
2 Comments
 
LVL 28

Accepted Solution

by:
vinnyd79 earned 200 total points
ID: 6897180
have you tried this:
net stop msftpsvc
0
 
LVL 1

Author Comment

by:swdld
ID: 6897227
THANX A LOT ! ! !

Where can I learn more about these "hidden" commands.
Such a resource 'd be a great healp !! !

Thanx!

0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

This article shows how to use a free utility called 'Parkdale' to easily test the performance and benchmark any Hard Drive(s) installed in your computer. We also look at RAM Disks and their speed comparisons.
IF you are either unfamiliar with rootkits, or want to know more about them, read on ....
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
Suggested Courses

864 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