?
Solved

Stop "FTP-Publishing" service by shell or code

Posted on 2002-03-26
2
Medium Priority
?
262 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
[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
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

An introduction to the wonderful sport of Scam Baiting.  Learn how to help fight scammers by beating them at their own game. This great pass time helps the world, while providing an endless source of entertainment. Enjoy!
Sometimes clients can lose connectivity with the Lotus Notes Domino Server, but there's not always an obvious answer as to why it happens.   Read this article to follow one of the first experiences I had with Lotus Notes on a client's machine, my…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

649 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