Solved

Stop "FTP-Publishing" service by shell or code

Posted on 2002-03-26
2
256 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 50 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

ScreenConnect 6.0 Free Trial

Discover new time-saving features in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

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

Suggested Solutions

The use of stolen credentials is a hot commodity this year allowing threat actors to move laterally within the network in order to avoid breach detection.
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.

778 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