How to customize file upload and download using Workspace app for HTML5 and Chrome

How to customize file upload and download using Workspace app for HTML5 and Chrome

book

Article ID: CTX217351

calendar_today

Updated On:

Description

This article is intended for Citrix administrators and technical teams only.
 
Non-admin users must contact their company's Help Desk/IT support team and can refer to CTX297149 for more information.

 

  1. Customize file upload to view uploaded files inside application File open/save dialogues.

  2. Customize file download to allow downloading a file from the browser running on the remote session to local client/machine

  3. To disable download and upload option for the users.

Background:

Receiver for HTML5 and Receiver for Chrome provides secure file transfer between a user device and virtual XenDesktop sessions. File upload can be customized to make it easy for users to view uploaded files inside application File open/save dialogs and this is also helpful for “attaching” files from client to web apps running inside session. File download can also be customized to allow downloading a file from browser running inside session to local client/machine.

Requirements:

XenDesktop/XenApp 7.6 LTSR1 or above.


Instructions

Customize file upload to view uploaded files inside application file open/save dialog

  1. Upload file using the “Upload” toolbar button or drag and drop file from the local client machine to the specific folder (see below configuration steps) in the session

  2. Files can then be viewed inside applications using File Open dialog. For web apps, uploaded files can be selected via attach button.

Configuration steps

  1. Set “UploadFolderLocation” registry inside session to a folder. To set it, go to registry [HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\FileTransfer] and set “UploadFolderLocation” to folder path.
    User-added image

  2. Add this folder (set in registry) to “Favorites” in explorer so that it is visible easily in open file dialog.

  3. Now user would upload files to session via toolbar button or drag n drop. File will get uploaded to folder set by registry.

  4. Inside web app when user clicks on “attach a file” button, user can pick files in “Open File” dialog by going to Favorites -> Uploaded Files.

As shown below, user can open uploaded files using open file dialog in MS Word app.

User-added image

Customize file download to allow downloading a file from the browser running on the remote session to local client/machine

Configure the default download folder location of web browsers to “Save To My Device” folder.
For example, IE11 default download folder location is set to “Save To My Device” as shown below.

User-added image

Once it is set, then downloading any file from web browser running on the remote session will download it to local client/machine. On client machine file will be saved to default folder location which is set on the web browser settings. For example on Chrome browser, chrome://settings > downloads.

Disable Upload/Download option in RfHTML5.

We can disable this option for users using following policies in Citrix Studio.
1. Upload file to desktop
2. Download file from desktop

Note: Environment variables work in the registry value. Registry settings related to file transfer are configured on the VDA. While uploading file from client/local machine to VDA session, if value for  registry entry “UploadFolderLocation” is not set then it will ask user to select folder on VDA to upload it.

Issue/Introduction

How to customize file upload and download using Receiver for HTML5 and Receiver for Chrome. Receiver for HTML5 and Receiver for Chrome provides secure file transfer between a user device and virtual XenDesktop sessions.