?
Solved

Stop "FTP-Publishing" service by shell or code

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article helps those who get the 0xc004d307 error when trying to rearm (reset the license) Office 2013 in a Virtual Desktop Infrastructure (VDI) and/or those trying to prep the master image for Microsoft Key Management (KMS) activation. (i.e.- C…
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!
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
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…

752 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