Run as Service, and/or Minimize to SysTray

Advertisement

BassKozz
Joined:
Posts:
4

Run as Service, and/or Minimize to SysTray

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.

Reply with quote

Advertisement

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

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
43,035
Location:
Prague, Czechia

Re: Run as Service, and/or Minimize to SysTray

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.

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.

Reply with quote

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....

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
43,035
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.

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

Reply with quote

Advertisement

flahver
Joined:
Posts:
2

Re: Run as Service, and/or Minimize to SysTray

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:[email protected]
--> 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 !!

Reply with quote

flahver
Joined:
Posts:
2

PostRe: Run as Service, and/or Minimize to SysTray

:oops: my bad >.<

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

thanks!

Reply with quote

Guest