Topic "WinSCP should run for service task"

Author Message
Joe

Guest


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
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
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.
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License