Getting Update-File from Network

Getting Update-File from Network

Hi there, maybe someone has made this already and can say me if its possible before i spend many time to test it.

We have many Device (Zebra TC51) and they're all in different Networklocations.

So if we want to Update them, there would be a really massive data traffic for the server and the local Networks.

The idea is, to send the update to a PC, which is in the specified Networklocation and the device download the updatefile from this pc. So the traffic would be only one time (server to pc, which will be made with another tool) and not for every device in the locations.

Is this possible for the filesync rule?

9 Answers

Order By:   Standard | Newest | Votes
John Doe | posted this 16 October 2019

Its not possible with FileSyncRules.

You could use ftp script command or device tools like mx to download from that location.

As far as i know zebra has incremental updates available too, so you maybe dont need the 1GB OS Updates.

Kind Regards John

  • 0
  • 1
John Doe | posted this 16 October 2019

I talked to support for this matter that it would be nice to have somewhat a "distribution" or "head"-DS that pushes configuration to a sites DS but they told me that this feature was discontinued at sometime, because bandwith isnt a problem anymore..

Kind Regards John

  • 0
  • 1
Rafael | posted this 16 October 2019

Yeah but giving 600 and more devices an 300MB Update is many traffic too, even if you could divide this by 3 it would be good. 

There are many locations in Germany with very small bandwidth (don't look only on the server), so if we can decrease the traffic it could be nice.

 

But, if I understand it right there's no way to tell the device that it have to download a file from a specific PC/networkpath (IP-adress)?

  • 0
  • 0
Raymond Chan | posted this 16 October 2019

 

As said earlier by John,  one can make a device download a file from a specific location using the ftp script command.  Please reference the on-line document on this.  You of course need to set up different ftp servers on your PC's in different locations.

 

  • 0
  • 0
Rafael | posted this 16 October 2019

Didn't saw the ftp command in script command set soryy. Found it now.

Ftp servers are still available, so this shouldn't be a problem. I have to take a look.

  • 0
  • 0
Rafael | posted this 16 October 2019

If i send (as in manual)

 

ftp get ftp://username:password@IP/path/update_nougat.zip %sdcard%update_nougat.zip

 

i get an error: ftp command encountered unknown problem.

if i send (as specified here: https://unix.stackexchange.com/questions/114764/how-to-specify-username-and-password-in-ftp-command)

 

ftp get %sdcard%update_nougat.zip ftp://username:password@IP/path/update_nougat.zip 

 

there's no error but nothing happened.

I tryed to set password into "", nothing changed

I tryed to use / instead of %, nothing changed

 

What I'm doing wrong? Sorry but ftp commands are new to me.

  • 0
  • 0
Raymond Chan | posted this 16 October 2019

It seems that you haven't used ftp in your whole life.  ftp has been around for 35+ years for different platforms - from unix variants, linux, Windows to different mobile device platforms.  Please look up in the web about the basic concepts and command-line ftp client(s).

Then make sure your client machine and ftp server do not have firewall in-between that blocks ftp, and make sure you can successfully get file from your ftp server onto your test ftp client (e.g. a Windows desktop/notebook)   After confirming this, you can do your test by running MobiControl script to get the required file(s) from your server.    Send Soti support team any log/error message if you encounter any problem.

 

  • 0
  • 0
John Doe | posted this 16 October 2019

Since FTP is unsecure maybe soti can offer us sftp in the near future ;) or ftps ?

Kind Regards John

  • 0
  • 0
Rafael | posted this 17 October 2019

I found the problem, the login was different from which we normally use.

Now it's working fine with

 

ftp get ftp://username:password@IP/path/update_nougat.zip %sdcard%update_nougat.zip

  • 1
  • 0

Give us your feedback
Give us your feedback
Feedback