WinSCP should run for service task

Advertisement

Joe
Guest

WinSCP should run for service task

Hi Martin,

I`m using version 3.76 of WinSCP on Windows 2000 Server.
I try to add the following command as a service:

"C:\Program Files\WinSCP3\WinSCP3.com" d29adm@migzma85.migros.ch /command "synchronize remote C:\Inetpub\wwwroot\RBG\WEBGRABBER /data_mgb/ifrs/rbg_pdf" "keepuptodate C:\Inetpub\wwwroot\RBG\WEBGRABBER /data_mgb/ifrs/rbg_pdf"

In command mode it works fine (copy / paste from the registry). The Unix directory "/data_mgb/ifrs/rbg_pdf" will automatically synchronized with the windows directory "C:\Inetpub\wwwroot\RBG\WEBGRABBER". But if I try to add the command with the tool "SvcAdmin.exe" as service, I get the following error message:

Could not start the WINSCP service on Local Computer.
Error 1053: The service did not respond to the start or control request in a timely fashion.

Any idea what`s wrong? Is it possible to add it as service with this version of winscp?
Thank you very much.
Kind regards,

Joe

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,517
Location:
Prague, Czechia

Re: WinSCP should run for service task

I do not see a purpose of this. What are you trying to achieve by running WinSCP as service? you cannot run regular application as a service. Services is special kind of programs.

Reply with quote

Advertisement

You can post new topics in this forum