Getting Update-File from Network
- 16 October 2019
- SOTI MobiControl - Android
9 Answers- 0 Upvote
- 1 Follower
9 Answers
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
Since FTP is unsecure maybe soti can offer us sftp in the near future ;) or ftps ?
Kind Regards John
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.
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.
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.
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.
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)?
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
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