Answers.Body: <p>Please make sure you have selected the correct datatype while creating the custom field value  - it should look like below </p>
  
  <p><a href="https://i.sstatic.net/hDH5W.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/hDH5W.png" alt="enter image description here"></a></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-02-03T08:43:00.693Z
Answers.Text: The properties are exactly as the screenshot that you posted, so no, this does not solves the problem. Any other hints?
Answers.UserDisplayName: Qara Ndi
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-02-03T12:36:44.123Z
Answers.Text: hi I managed to test the same against Civicrm 4.6.11 version and wordpress 4.4.2 - which worked perfectly. So please try to upgrade the civicrm version and give a try. please don't upgrade to civicrm version 4.7 where we have some issue in custom field so its better to test with v4.6.11
Answers.UserDisplayName: Ramesh - ARTECH Consultancy
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-02-05T12:21:48.457Z
Answers.Text: I am already using v4.6.11, but an older version of wordpress. (3.8) I cannot upgrade wordpress because My theme does not support a greater version. Is there any fix for this?
Answers.UserDisplayName: Qara Ndi
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-02-10T09:21:36.640Z
Answers.Text: If that is the case you need to try fixing your theme
Answers.UserDisplayName: Ramesh - ARTECH Consultancy
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-03-30T14:20:24.857Z
Answers.Text: Hello, I have updated, CiviCRM to 4.7.4 and php to 5.5 but the promlem remains. When I upload a file, the string like "_c48647e27e457b3bb7237a9597d6852f" is attached to the name. Any workarounds? maybe it its a mysql problem?
Answers.UserDisplayName: Qara Ndi
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-03-30T15:40:10.417Z
Answers.Text: sorry @Qara their is a problem in custom field value updating File type in the latest version of Civicrm. So, Please with the same version CiviCRM 4.6.11  - Is their anyway you can test this issue with Civicrm 4.6.11
Answers.UserDisplayName: Ramesh - ARTECH Consultancy
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-03-31T13:49:20.660Z
Answers.Text: I have just installed a fresh wordpress 4.4.2 and civicrm 4.6.14 but the prosblem still remains. So it is not a wordpress or a civcrm version problem. Maybe it is a mysql settings problem or something else?
Answers.UserDisplayName: Qara Ndi
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-02-01T16:51:40.653Z
Answers.LastActivityDate: 2016-02-01T16:51:40.653Z
Answers.UserDisplayName: Ramesh - ARTECH Consultancy
Answers.Body: <p>I did manage to test the same against Civicrm 4.6.14 and custom field of type file is not working as excepted but still the file is been saved against the field but the display is incorrect </p>
  
  <p>this is how it looks - in the display</p>
  
  <p><a href="https://i.sstatic.net/iTJPr.gif" rel="nofollow noreferrer"><img src="https://i.sstatic.net/iTJPr.gif" alt="enter image description here"></a></p>
  
  <p>if you try to edit the custom file is been displayed as below</p>
  
  <p><a href="https://i.sstatic.net/z48o3.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/z48o3.png" alt="enter image description here"></a> </p>
  
  <p>So please check your installation - and then try again - thanks</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-04-01T11:23:49.993Z
Answers.Text: Yes. on the backend of civicrm the filename is correct. But on the frontend (eg. the profile page of the user) the filename is damaged. see screenshots here: wordpress  backend http://i.imgur.com/RiIfMGy.png  frontend: http://i.imgur.com/CeSqHbz.png
Answers.UserDisplayName: Qara Ndi
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-03-31T15:01:47.330Z
Answers.LastActivityDate: 2016-03-31T15:01:47.330Z
Answers.UserDisplayName: Ramesh - ARTECH Consultancy
Answers.Body: <p>I'm pretty sure the problem you're describing is <a href="https://issues.civicrm.org/jira/browse/CRM-18183" rel="nofollow noreferrer">CRM-18183</a>.  Try upgrading to CiviCRM 4.7.5+.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-08-29T05:48:42.740Z
Answers.LastActivityDate: 2017-08-29T05:48:42.740Z
Answers.UserDisplayName: Jon G - Megaphone Tech
Body: <p>I have created some custom file fields so I can add some files (pdf, doc, zip etc) to each user profile.</p>
  
  <p>When I upload the files, everything works great.
  I the backend the file names are displayed correclty, 
  BUT in the frontent the filenames are changed:
  a string like "_8b9c34bb85a1219b9e1f60e02d82907c" is atteched.</p>
  
  <p>How can I fix this?
  I use civicrm 4.6.11 and wordpress 3.8</p>
  
  <p><strong>UPDATE 5/4/2016:</strong>
  I have tested version 4.6.14 and 4.7.4 on wordpress 4.4.2 (latest version)
  on different <em>Plesk</em> (TopHost) and <em>Cpanel</em> (SiteGround) shared servers.</p>
  
  <p><strong>The problem remain the same.</strong></p>
  
  <p>The files are stored correctly but at the frontend an HTML text on the link is added.</p>
  
  <p>See Screenshots:</p>
  
  <p><a href="https://i.sstatic.net/dguT7.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/dguT7.png" alt="user profile custom fields backend"></a>
  user profile custom fields backend</p>
  
  <p><a href="https://i.sstatic.net/7WweT.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/7WweT.png" alt="user profile custom fields frontend"></a>
  user profile custom fields frontend</p>
  
  <p><a href="https://i.sstatic.net/lyAdb.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/lyAdb.png" alt="backend civicrm 4.6.14"></a>
  backend civicrm 4.6.14</p>
  
  <p><a href="https://i.sstatic.net/8FgZK.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/8FgZK.png" alt="frontend profile page civicrm 4.6.14"></a>
  wordpress 4.4.2 frontend profile page civicrm 4.6.14</p>
  
  <p><a href="https://i.sstatic.net/JVGed.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/JVGed.png" alt="server settings"></a>
  server settings</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-03-30T14:39:27.010Z
Comments.Text: I have updated, CiviCRM to 4.7.4 and php to 5.5 but the promlem remains. When I upload a file, the string like "_c48647e27e457b3bb7237a9597d6852f" is attached to the name. Any workarounds? maybe it its a mysql problem?
Comments.UserDisplayName: Qara Ndi
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-12-29T12:53:02.267Z
Comments.Text: I always assumed this was on purpose, that on the front-end civi added characters to uploaded files as part of a security measure. If you want to reference the file, you can use the API or token/variables.
Comments.UserDisplayName: RayWright
Tags: <wordpress><custom-fields>
Title: Custom File Field Filename Error
ThreadText: # Custom File Field Filename Error
  
  (Asked by: username_0 on 2016-02-01)
  
  I have created some custom file fields so I can add some files (pdf, doc, zip etc) to each user profile.
  
  When I upload the files, everything works great.
  I the backend the file names are displayed correclty,
  BUT in the frontent the filenames are changed:
  a string like "\_8b9c34bb85a1219b9e1f60e02d82907c" is atteched.
  
  How can I fix this?
  I use civicrm 4.6.11 and wordpress 3.8
  
  **UPDATE 5/4/2016:**
  I have tested version 4.6.14 and 4.7.4 on wordpress 4.4.2 (latest version)
  on different *Plesk* (TopHost) and *Cpanel* (SiteGround) shared servers.
  
  **The problem remain the same.**
  
  The files are stored correctly but at the frontend an HTML text on the link is added.
  
  See Screenshots:
  
  [![user profile custom fields backend](https://i.sstatic.net/dguT7.png)](https://i.sstatic.net/dguT7.png)
  user profile custom fields backend
  
  [![user profile custom fields frontend](https://i.sstatic.net/7WweT.png)](https://i.sstatic.net/7WweT.png)
  user profile custom fields frontend
  
  [![backend civicrm 4.6.14](https://i.sstatic.net/lyAdb.png)](https://i.sstatic.net/lyAdb.png)
  backend civicrm 4.6.14
  
  [![frontend profile page civicrm 4.6.14](https://i.sstatic.net/8FgZK.png)](https://i.sstatic.net/8FgZK.png)
  wordpress 4.4.2 frontend profile page civicrm 4.6.14
  
  [![server settings](https://i.sstatic.net/JVGed.png)](https://i.sstatic.net/JVGed.png)
  server settings
  
  **Tags:** wordpress, custom-fields
  
  > **Comments:**
  > **username_0**: I have updated, CiviCRM to 4.7.4 and php to 5.5 but the promlem remains. When I upload a file, the string like "_c48647e27e457b3bb7237a9597d6852f" is attached to the name. Any workarounds? maybe it its a mysql problem?  
  > **username_1**: I always assumed this was on purpose, that on the front-end civi added characters to uploaded files as part of a security measure. If you want to reference the file, you can use the API or token/variables.  
  
  ---
  
  ## 3 answers
  
  ### Answer by username_2 on 2016-02-01. Score: 1
  
  Please make sure you have selected the correct datatype while creating the custom field value - it should look like below
  
  [![enter image description here](https://i.sstatic.net/hDH5W.png)](https://i.sstatic.net/hDH5W.png)
  
  > **Comments:**
  > **username_0**: The properties are exactly as the screenshot that you posted, so no, this does not solves the problem. Any other hints?  
  > **username_2**: hi I managed to test the same against Civicrm 4.6.11 version and wordpress 4.4.2 - which worked perfectly. So please try to upgrade the civicrm version and give a try. please don't upgrade to civicrm version 4.7 where we have some issue in custom field so its better to test with v4.6.11  
  > **username_0**: I am already using v4.6.11, but an older version of wordpress. (3.8) I cannot upgrade wordpress because My theme does not support a greater version. Is there any fix for this?  
  > **username_2**: If that is the case you need to try fixing your theme  
  > **username_0**: Hello, I have updated, CiviCRM to 4.7.4 and php to 5.5 but the promlem remains. When I upload a file, the string like "_c48647e27e457b3bb7237a9597d6852f" is attached to the name. Any workarounds? maybe it its a mysql problem?  
  > **username_2**: sorry @Qara their is a problem in custom field value updating File type in the latest version of Civicrm. So, Please with the same version CiviCRM 4.6.11  - Is their anyway you can test this issue with Civicrm 4.6.11  
  > **username_0**: I have just installed a fresh wordpress 4.4.2 and civicrm 4.6.14 but the prosblem still remains. So it is not a wordpress or a civcrm version problem. Maybe it is a mysql settings problem or something else?  
  
  ---
  
  ### Answer by username_2 on 2016-03-31. Score: 0
  
  I did manage to test the same against Civicrm 4.6.14 and custom field of type file is not working as excepted but still the file is been saved against the field but the display is incorrect
  
  this is how it looks - in the display
  
  [![enter image description here](https://i.sstatic.net/iTJPr.gif)](https://i.sstatic.net/iTJPr.gif)
  
  if you try to edit the custom file is been displayed as below
  
  [![enter image description here](https://i.sstatic.net/z48o3.png)](https://i.sstatic.net/z48o3.png)
  
  So please check your installation - and then try again - thanks
  
  > **Comments:**
  > **username_0**: Yes. on the backend of civicrm the filename is correct. But on the frontend (eg. the profile page of the user) the filename is damaged. see screenshots here: wordpress  backend http://i.imgur.com/RiIfMGy.png  frontend: http://i.imgur.com/CeSqHbz.png  
  
  ---
  
  ### Answer by username_3 on 2017-08-29. Score: 0
  
  I'm pretty sure the problem you're describing is [CRM-18183](https://issues.civicrm.org/jira/browse/CRM-18183). Try upgrading to CiviCRM 4.7.5+.
  
  
  ---
  
  