There's a new home for Articles. Find Articles on Our Product Support Page.
Android 11 or 13 Models MC93 & ET60 FileSync Rule copies config.xml, badlink.html, copy_config.xml & copy_banklink.xml files to %sdcard% as expected (xml files are used in post-synchronization) copy_config.xml <wap-provisioningdoc> <characteristic version="11.3" type="FileMgr"> <parm name="FileAction" value="1" /> <characteristic type="file-details"> <parm name="TargetAccessMethod" value="2" /> <parm name="TargetPathAndFileName" value="/enterprise/device/enterprisebrowser/Config.xml" /> <parm name="IfDuplicate" value="1" /> <parm name="SourceAccessMethod" value="2" /> <parm name="SourcePathAndFileName" value="/sdcard/config.xml" /> </characteristic> </characteristic></wap-provisioningdoc> copy_banklink.xml <wap-provisioningdoc> <characteristic version="11.3" type="FileMgr"> <parm name="FileAction" value="1" /> <characteristic type="file-details"> <parm name="TargetAccessMethod" value="2" /> <parm name="TargetPathAndFileName" value="/enterprise/device/enterprisebrowser/badlink.html" /> <parm name="IfDuplicate" value="1" /> <parm name="SourceAccessMethod" value="2" /> <parm name="SourcePathAndFileName" value="/sdcard/badlink.html" /> </characteristic> </characteristic></wap-provisioningdoc> After file synchronization has completed execute script: mxconfig /sdcard/Copy_badlink.xmlmxconfig /sdcard/Copy_Config.xml Always Execute is checked Enterprise Browser utilizes the settings from our config.xml but if it has a page error it calls the badlink.html that comes with the apk and not our customized file (customized file has an exit function to get out of the Enterprise Browser application in case they lose wifi). I cant get our customized version of the badlink.html to copy to the location where Enterprise Browser is located.
Hello everyone,we use various file sync rules in our company.To do this, we use server-side shares that are then shared with certain people in order to update files to be synchronized here, etc.If I authorize “Everyone” to the share, then my rule works. If I authorize the service account of our MobiControl server instead, it no longer works.The internal default is not to authorize a share for “Everyone”. It would therefore be great to know what the authorization of the share must look like so that our devices can upload and download files there.
i try to find solution "How to sync deviceinfo.ini to individual device? case: i have large device and i want to send deviceinfo.ini to each device. how to do? Because , i found sync by group, but i want 1 file per 1 device
Morning Everyone, I am using FileSync in SOTIMobiControl to upgrade the firmware of my MC93 RF terminal. I would like to use mxconfig /sdard/packages.upl as a script set in FileSync but I am getting the message "OS update has failed to install...." on the device. Running it with install_system_update "/sdcard/11-39-27-00-RG-U02-STD-HEL-04.zip" as script set in Filsync works. But I have to do that for each zip file Is there any other way to run the zip files in one command? Thks in advance
Hello, i have a filesync rule to sync a firmware in some android devices and i want to know if there is any way to ckeck if the device has downloaded the zip to perform the update.
I try to push an updatefile to an device. First i try via package but there i got the message that the file size is to big (2.2gb) Ok i try to create an filesyncrule but the upload to the server is stopped after some minutes. Smaller updates and files are uploaded really fast. Is there an file size restriction on the server? Thank you Günter
Hi, I have FileSync Rule (AE Managed Device) that is uploading multiple files to the devices. One of the file is .js and I would like to execute it if if any of the files changes but I don't know how. Only option that comes to my mind is to copy whole script to the FileSync rule script box but I would rather not as it could change in the future and it could lead to mess. The script itself is not created as (function(root).. , it begins simply with "try {.." so I'm not sure if I could load it with "require" and if yes how to launch it as whole script/file I will be glad for any suggestions
Hi, my question is if it possible to delete files was uploaded by rule once every 3 month? I have a rule every time device sync upload files from device to server, on device I've got a javascript to delete files more than 30days and now I'm looking to delete the uploaded files on server console automatically every 90 days, for liberate space on console this files don't useful past 90days It is possible to delete these files using script or by rule?
Hi, I have a configuration file sync upload from the device to the server, and the files we sync quite a lot. How can we download the file directly in one folder, not one file at a time because it will take a long time?
Hi everyone, I got around 250 devices enrolled to MC v15.2.3.1033 Recently i applied File Sync Rule to all devices to collect JSON file from each devices to server. 1 file size around 800kb-1MB. I collect it daily, means around 250MB collect daily from all devices. I used Subfolder with device tree path. My question is, is there any way we can delete file from SOTI File System with kind of filter : Example : bulk delete all JSON file > 7 days Reason being is i am afraid it will loaded the cloud server since in 1 month it will be 7.5 GB size of data.
Hi all I've set up a photo sync for our devices which works well but ideally I'd like to prepend the file name with the device name to help identify the photos. I've tried doing this as follows... but the filename just looks like this when it syncs. %PERSONALIZED_DEVICE_NAME%IMG_20210824_144205_1.jpg I've also tried %DeviceID% %DEVICENAME% and %ENROLLEDUSER_USERNAME% but nothing seems to work. I'd appreciate any advice you could offer.
Hello, I have a use-case where I need to bring back saved pictures on mobile devices from the field and doing some post-processing actions. To do the post-processing, my application server (hosted by my company) needs to get access to the folder on Soti instance where all pic is synced. How can this be done? There is an option where I can tell filesync to store the content outside (like an external FTP server) ? Thankyou a lot for your help
Hello All, I wanted to throw this out here: For Zebra upgrades and patches I use Filesync Rules to send the massive files down to the device. What I have found is that in some cases the file size is correct, but the file is corrupt. I attribute this to the fact that I have a lot of locations that have marginal network coverage at night due to massive concrete and steel (cell) or very limited ethernet bandwidth. In any case I have files that end up on the device that are corrupt. I have resorted to remoting into each of these devices that don't successfully update and performing a md5sum command on the file downloaded file to determine whether it is corrupt or not. If it is corrupt, I delete the file and allow the device to attempt to download it again using the file sync rules. My question is whether there is any way to automate this process as part of the file sync rule scripting. Under v14.1 I didn't see a way. I am working on an upgrade to v15.3 but am not there yet. Personally, I wish that SOTI was smart enough to validate that the files that were sync'd were good without any intervention. Any ideas or sample scripts that anyone is willing to share? Thanks. Jim
Hi All, I have created a file sync rule which copies a file TO the root of the device. But I keep getting the error: File Synchronization failed ... Device File = %sdcard%\url.CapMgmtServer File = \\ServerName\folder1\folder2\url.CapMgmt I'm completely new to this software. What could be wrong? File is accessible, but can't be delivered to the device. I've also noted that in the logs says %%sdcard%% (see DS log below) DS log says: 2021-03-25 09:43:01,724 (0x00000364) [ERROR] [ 14] Comm.Client.1 [354401112252426]: SendFileAsync(%%sdcard%%\url.CapMgmt): Device reported error PackageFileIoError2021-03-25 09:43:01,724 (0x00000364) [ERROR] startTransfer: File transfer error reported from device. All files of the same rule will discard. Rule: 24, device: '354401112252426' Any advice is welcome.
Please help check my configurations. I want to downlod an .ini file from server to the Android devices. I have tried below two ways : Device File / Folder Name: %sdcard%/Download/ ; Server File / Folder Name : %ROOT%\test\text.ini Device File / Folder Name: %sdcard%/Download/ ; Server File / Folder Name : C:\test\ Android 9 Agent Version : 14.4.6 Build 1001 SOTI Mobicontrol : 15.3.0.6711
Top-tier experts who are delivering outstanding content. Should have more than 7000 points.
Experts who are consistent with great content. Should have more than 1000 points
Highly experienced members with valuable inputs. Should have more than 700 points
Beginners taking the initiative. Should have more than 500 points