Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Upload of files with special characters like "(" & ")"

SA-19299

Summary



Importing the jar file does not work properly when file names have special characters in StaticExport folder in temp directory.

Error Messages



Not Applicable

Steps to Reproduce



1. Create a work object, and click on add icon to attach any file.
2. Select a file whose name has a special character like Test - (Word).docx.
3. Cancel uploading the file, and import a RAP or jar file.

Root Cause



The system operates on Unix.

Resolution



Perform the following local-change.

Replace the code in the SelectFileFromServer control as below:

PRFile zipFile = new PRFile(zeusMovePathName + sep + myZipFiles[i]);

TO

PRFile zipFile = null;
try
{
zipFile = new PRFile(zeusMovePathName + sep + myZipFiles[i]);
}
catch (Exception x)
{
continue;
}
Suggest Edit

Published February 9, 2016 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us