Page 1 of 1
Send to client - command line
Posted: Tue Feb 02, 2016 8:36 pm
by hansen
Hi,
I'm trying to figure out if it's possible to send files to client machines through similar commands as sendtoclient/runonclient, which is not supported any longer.
I know I can use the FileTransfer.exe, but I'm trying to push a new version of the TSplus client to all 80 machines without involving the user.
Or should I look at other tools for such functions?
-hansen
Re: Send to client - command line
Posted: Wed Feb 03, 2016 5:50 pm
by admin
Hello,
We used to have a program for updating all client to the latest release, but this program is being rewritten as we speak to be compliant with current version 9.10.
I guess you could set up a logon script on the server that would go like this :
xcopy C:\tsplus\client.exe \\tsclient\c\Users\%USERNAME%\Desktop /I
Your client is made available in C:\tsplus and copied directly to the user desktop.
Another method if you are using the Mobile or Enterprise edition would be to copy your client in C:\Program Files (x86)\TSplus\Clients\www
This way you can simply send an email with download link to your users. (
http://yourserver.com/client.exe)
Re: Send to client - command line
Posted: Wed Feb 03, 2016 6:04 pm
by hansen
If I had control over the computers, I would just do a logon script, but I don't. I'll figure out another solution, but please add a note to the release log, when you publish the new program.
Re: Send to client - command line
Posted: Wed Feb 03, 2016 6:29 pm
by admin
Well the logon script is to be set on the TSplus server, I made a procedure for this a while ago :
http://support.tsplus.net/kb/faq.php?id=25
The xcopy is to be preferred as it supports the %USERNAME% variable. This way all users automatically download the client from the server.
Re: Send to client - command line
Posted: Wed Feb 03, 2016 7:02 pm
by hansen
Okay, cool, but still can't get it to work. I guess \\tsclient has to be something different or file sharing needs to be enabled on the client?
Re: Send to client - command line
Posted: Thu Feb 04, 2016 2:36 pm
by admin
Hello,
I made a little video to show you precisely how I do this :
http://youtu.be/dfOv_q0xJBw?hd=1
You must keep in mind that the remote username must be the same as the username used to login on his local computer, which is usually the case if you are using domain users. Needless to say you need also to make sure disk redirection is activated on your connection client.