Topic "Run as Service, and/or Minimize to SysTray"

Author Message
BassKozz
[View user's profile]

Joined: 2007-12-12
Posts: 4
First off I don't know if this is already possible or not, so I apologize if this is already a feature and I've missed it.

I am using WinSCP to backup my work computers to an external server. The problem I am running into is that my employees close out WinSCP either because they don't know what it is (even after the multiple emails, and notices) or the computer crashes or restarts.

I would love to have the ability to setup WinSCP as a service (so the employees can't close it out) and auto-resume transfers on restart. Or at the very least place WinSCP in the systray so it's not in the task panel.
Advertisements
brif8

Guest


I would second this if possible.
I would also add that perhaps we can map the connected drive to a Windows drive?
Thus link user@host to T: or something similar
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
BassKozz wrote:
I would love to have the ability to setup WinSCP as a service (so the employees can't close it out) and auto-resume transfers on restart.

You will find tons of tools that allows any application run as services.

Quote:
Or at the very least place WinSCP in the systray so it's not in the task panel.

If you run winscp.exe without /console parameter (with with either /command or /script), it will have no window, hence it cannot be closed.
brif8

Guest


Can you suggest some tools?

and what about the drive mapping option?
T: <==> to user@remotehost:22

I have users who are so used to having Excel open and the File, Open C: \MyDocument etc....
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
brif8 wrote:
Can you suggest some tools?

You may use srvany.exe from Windows resource kit. Follow here. However I do not see a point. I guess that Windows scheduler would do the job as well. Read FAQ.

Quote:
and what about the drive mapping option?
T: <==> to user@remotehost:22

Please read FAQ.
flahver
[View user's profile]

Joined: 2008-01-07
Posts: 2
I am currently running a batch script (via srvany.exe); however, winscp.com fails to execute.

If I run the .bat manually - everything works fine.
If I run the .bat as a service - everything works except winscp.com

bufrdp_sftp.bat:
...
--> "C:\Program Files\WinSCP\WinSCP.com" /script=C:\BUFR\scripts\bufrdp_sftp.txt
--> DEL /Q /F "C:\BUFR\SFTP_TEMP\*"
...

I know the rest of the .bat is running - I see files are being deleted from temp.

bufrdp_sftp.txt:

--> option batch on
--> option confirm off
--> open testClient:testClient@10.32.31.20
--> put C:\BUFR\SFTP_TEMP\* /BUFR/BUFR_IN/
--> exit

Why would WinSCP fail as a service?

Any help is much appreciated : )

btw - one heck of a product - wtg !!
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
flahver wrote:
Why would WinSCP fail as a service?

Please read another FAQ.
_________________
Martin Prikryl
flahver
[View user's profile]

Joined: 2008-01-07
Posts: 2
Embarassed my bad >.<

- using "/ini=C:\<path>\<file>.ini" option and all is well

thanks!
Guest




brif8 wrote:
Can you suggest some tools?

and what about the drive mapping option?
T: <==> to user@remotehost:22

I have users who are so used to having Excel open and the File, Open C: \MyDocument etc....


Try Sftpdrive; https://en.wikipedia.org/wiki/ExpanDrive
Eru

Guest


It would be really helpful to have built in support for running as a service. I'm using it on my Windows Server 2003 box that doesn't usually have a user logged into it. I install it as a service so that I can access it even fresh out of a reboot, and run commands/transfer files.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
Eru wrote:
It would be really helpful to have built in support for running as a service. I'm using it on my Windows Server 2003 box that doesn't usually have a user logged into it. I install it as a service so that I can access it even fresh out of a reboot, and run commands/transfer files.

What prevents you from using Windows Scheduler?
_________________
Martin Prikryl
sluice
[View user's profile]

Joined: 2010-10-05
Posts: 9
prikryl wrote:
Eru wrote:
It would be really helpful to have built in support for running as a service. I'm using it on my Windows Server 2003 box that doesn't usually have a user logged into it. I install it as a service so that I can access it even fresh out of a reboot, and run commands/transfer files.

What prevents you from using Windows Scheduler?

If the server from which it is run is turned off when Scheduler would run the command, then there could be a gap of, say, 24 hours, until the Scheduler ran the command again. If Scheduler were to try to run the command while it was already running in keepuptodate mode, then error messages would be generated.I don't want to run it from Startup since no-one may be logged in.
I would prefer not to run 3rd party tools to force it into Run as a service, so it would be very useful to run as a service, if possible.
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