Page tree

To help users resolve issues, you can allow users to upload files from the Self-Service Portal. You can limit the types and sizes of files that they can upload.

Note

This feature works with both http://midTierServerName:portNumber/eschat/arhome.html and with http://midTierServerName:portNumber/eschat/ available with 8.1.02 and later.

To configure file uploads:

  1. From the Virtual Agent Administration Console, select Self Service Portal > Configuration.
  2. To view all configurations, select the Show Disabled checkbox.
  3. Select File Transfer, and click Modify. 
     
  4. Set Status to Enabled.

  5. In XML window, you can modify the following parameters.

    ParameterDescription
    <xfer_types>
    In a comma-separated list, specify the file type extensions that users can upload. Users can upload disallowed file types, but the files are added to and attached as .zip files.
    <xfer_basepath>
    Specify the location of the xfer folder created on during installation. For example,C:\Program Files\Apache Software Foundation\Tomcat6.0\webapps\xfer.
    <xfer_baseurl>
    Specify the IP address of the server where Apache Tomcat and the xfer folder is located. For example, http://192.168.101.22:8080/xfer.
    <xfer_allow_client_upload>
    Set to True to allow self-service users to upload files. Set to False to disallow uploads. These values are not case sensitive.
    <xfer_max_attachment_size>
    In kilobytes, specify the maximize file size for uploads, such as 1024, 100k,100kb,100kilobytes, 1m, 1mb, 1megabyte. Zero or not including this parameter, means no limit other than the BMC Action Request System file attachment limit. The default value is 100kb.
    <xfer_allow_client_executables_upload>
    Set to False to disallow self-service users to upload executable files, such as .exe files. Set to True to allow executable file uploads. These values are not case sensitive. An empty or incorrect value is equal to False.
    <xfer_executable_signatures>
    In a comma-separated list, specify the signatures for executable files that users can upload.
  6. Click Save.
  7.  In the Self Service Portal Configuration screen, click Apply.
  8. In the Registered Servlets table, select the ESChat servlet, and click Refresh Servlets.

Example

The following is an example of the XML code for the File Transfer configuration. 

<file_transfer>
	<xfer_types>doc,txt,zip,xls,xlsx,docx,pdf,gif,png,tif,bmp,jpg</xfer_types>
	<xfer_basepath>C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\xfer</xfer_basepath>
	<xfer_baseurl>http://cal-midtierserver:8080/xfer</xfer_baseurl>
	<xfer_allow_client_upload>True</xfer_allow_client_upload>
	<xfer_max_attachment_size>1000k</xfer_max_attachment_size>
	<xfer_allow_client_executables_upload>false</xfer_allow_client_executables_upload>
	<xfer_executable_signatures>4d5a,7f454c46</xfer_executable_signatures>
</file_transfer>

Related topics