Solved

Stop "FTP-Publishing" service by shell or code

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

Don't lose your head updating email signatures!

Do your end users still have the wrong email signature? Do email signature updates bore you or fill you with a sense of dread? You can make this a whole lot easier on yourself by trusting an Exclaimer email signature management solution. Over 50 million users do...so should you!

Question has a verified solution.

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

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…
If you get continual lockouts after changing your Active Directory password, there are several possible reasons.  Two of the most common are using other devices to access your email and stored passwords in the credential manager of windows.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
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…

867 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now