Is it possible to download folders to a device?

Is it possible to download folders to a device?

Hi, 

 

I want to be able to send files to a device over WiFi but there are quite a few sub folders in the files i want to send over. 

 

Is it possible to send over all of the files included in the sub folders and the folder structure also? 

 

thanks

 

Josh. 

9 Answers

Order By:   Standard | Newest | Votes
Raymond, Chan | posted this 3 weeks ago

On Android and Windows platforms, you can at least use either of the following:

 

1. include your file hierarchy in a pcg package with package studio and send the files with package deployment rule/profile depending on your MobiControl server version. 

 

2. put your file hierarchy in the file system accessible by your MobiControl Deployment server, and define a file-sync rule to download the hierarchy (with "recursive" option selected) in the rule.  One limitation of this approach is that the target directory/folder on the device has to be a public directory that the device agent has access right to write to.  Care must also be taken on other sync options of the rule if the transferred files on the device are to be moved/modified by the end-user.  In the worst case,  this approach cannot be used unless you disable the rule after pushing all contents to all target devices.

 

  • 0
  • 0
Josh Bradley | posted this 3 weeks ago

Hi, 

 

I've tried building a File Sync Rule for this but it's only syncing 2 files that aren't in folders not all of the folders and their contents. 

Below is the Rule overview, I can provide more information if needed.

 

  • 0
  • 0
Raymond, Chan | posted this 3 weeks ago

Please try the following:

 

- Add a trailing slash in the end of your server source path

 

- Verify that the MS account owning the MobiControl Deployment server has file read/write permission to ALL files in your specified source path on the server side

 

- Verify that the name of the folder(s) in your server source do not conflict with %sdcard% sub-folders which are non public/system folders that the device agent has no write permission.  You can have a quick test by changing your device-side destination directory to  %sdcard%/Download .

 

- Verify your file sync schedule(s) are valid if no files get updated.  You might consider having shorter interval and/or enabling the option "Sync Files When Device Connects" to get more responsive updates if data bandwidth/cost is not an issue.

 

 

  • 0
  • 0
Anil | posted this 3 weeks ago

if folder is not exist already you may try to create it  Via pre installation script 

 

example: rmdir /S sdcard\test 

  • 0
  • 0
Josh Bradley | posted this 3 weeks ago

Hi, 

 

I've tried the trailing slash and it's still only sending the files that aren't in Sub Folders. 

MobiControl has access to all of the files. 

The Sub Folders do not match any folders already existing on the device. 

Some of the files are being downloaded so I don't think this is an issue with the Schedule. 

   The 2 CFG files are going down but none of the folders. 

 

  • 0
  • 0
Josh Bradley | posted this 3 weeks ago

Hi Anil, 

 

Thanks for the response but there are sub folders in the sub folders so this would take a lot of time to do this. 

 

I essentially need a "copy and paste" function over the air via WiFi. 

  • 0
  • 0
Raymond, Chan | posted this 3 weeks ago

Hi Josh,

Apparently, I rechecked and just noticed that Soti had removed support for recursive sub-folders and some other very useful advanced options(e.g. synced  file removed from source directory) in their file-sync rules.  I wasn't aware of the exact version/build numbers after which they removed such support.  So, unless such support is added back in their implementation,  you have to use use one file-sync rule for one sub-folder.

 

The task of creating folder hierarchy on the device can be simplified by using a single script for all targeted devices, and shouldn't be a big deal.  But creating one file-sync rule for one folder in a complex hierarchy  do involve lots of work.

 

Maybe you can raise a feature request for Soti to add back the recursive sub-folder support in their file-sync rules.

 

 

  • 0
  • 0
Josh Bradley | posted this 3 weeks ago

Hi, 

 

Thanks for getting back to me again, really appreciate the help. 

I'll look into raising a feature request for this. 

 

Thanks again, 

 

Josh. 

  • 0
  • 0
Raymond, Chan | posted this 3 days ago

Hi Josh,

I did another check on my test servers running MobiControl v13..4.0.5203 and v14.2.1.4394 , and verified that file-synchronization of a folder sub-tree works fine.   Enabling the option "Sync Sub-Folders" in the "Advanced" tab of your file-sync rule should make it work.  For some unknown reason, I could not make it work in my tests some two weeks ago.

 

  • 0
  • 0
Give us your feedback
Give us your feedback
Feedback