Files device policy 编辑

You can add and deploy files for users to access on their Android and Android Enterprise devices. You specify the directory where you want to store the file on the device. For example, you want users to receive a company document or .pdf file. Deploy the file to devices and let users know where the file is located.

Android devices don’t support running scripts natively. Users need third-party software to run scripts.

You can add the following file types with this policy:

  • Text-based files (.xml, .html, .py, and so on)
  • Other files, such as documents, pictures, spreadsheets, or presentations

To add or configure this policy, go to Configure > Device Policies. For more information, see Device policies.

Android Enterprise settings

  • File to be imported: To select the file to import, click Browse and navigate to the file location.
  • Destination folder: In the list, select the location where you want to store the uploaded file, or select Add new to specify a file location. Select the %Flash Storage%\ or the %XenMobile Storage%\ macro to indicate where to store the uploaded file. The macro expands to the applicable location on each device.
    • %XenMobile Storage%\ expands to Android/data/com.zenprise/ in the internal storage directory.
    • For Android 9.0 and earlier, %Flash Storage%\ saves the file to the external storage directory.
    • For Android 10.0 and later, %Flash Storage%\ saves the file to the Downloads folder of the internal storage directory.
    • For Android 11.0 and later, %XenMobile Storage%\ no longer applies because of restrictions imposed by Google on access to the target location.
  • Destination file name: Optional. If you must change a file name before deploying it to a device, type the file name.
  • If file exists: In the list, select whether to copy an existing file. The default is Copy file only if different.

Important:

The Files device policy no longer supports adding scripts on Android Enterprise. If an existing policy contains a script, an error message displays when selecting the policy and you can re-add the policy to resolve the issue.

Android settings

  • File to be imported: To select the file to import, click Browse and navigate to the file location.
  • File type: Select either File or Script.
  • Execute immediately: When you select Script, the Execute immediately option appears. Nothing happens when you enable this setting. Users must run the script manually.
  • Replace macro expressions: Select whether to replace macro token names in a script with a device or user property. For macro syntax, see Macros. The default is Off.
  • Destination folder: In the list, select the location where you want to store the uploaded file, or select Add new to specify a file location. Select the %Flash Storage%\ or the %XenMobile Storage%\ macro to indicate where to store the uploaded file. The macro expands to the applicable location on each device.
    • %XenMobile Storage%\ expands to Android/data/com.zenprise/ in the internal storage directory.
    • For Android 9.0 and earlier, %Flash Storage%\ saves the file to the external storage directory.
    • For Android 10.0 and later, %Flash Storage%\ saves the file to the Downloads folder of the internal storage directory.
    • For Android 11.0 and later, %XenMobile Storage%\ no longer applies because of restrictions imposed by Google on access to the target location.
  • Destination file name: Optional. If you must change a file name before deploying it to a device, type the file name.
  • If file exists: In the list, select whether to copy an existing file. The default is Copy file only if different.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据

词条统计

浏览:34 次

字数:5558

最后编辑:7 年前

编辑次数:0 次

    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文