a2cmd or a2service with

Recommended Posts



I'm trying to use a2cmd with using C# on Windows Server 2012 to scan files on demand. Is there a recommended way to acheive this? I've tried System.Diagnostics.Process but the required elevated privileges makes it difficult. Perhaps a2service could be used directly?




Share this post

Link to post
Share on other sites

It's not possible to directly interface with a2service.exe. If you're not able to accomplish what you are trying to do with, then you may need to write a VBScript or something similar to manage launching a2cmd and reporting its status to your ASP script.

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    No registered users viewing this page.