Customer Portal

Get Involved. Join the Conversation.

Topic

    Janusz Jasinski
    Downloading an attachment appends an underscore to the...
    Topic posted November 7, 2019 by Janusz JasinskiSilver Crown: 22,500+ Points 
    13 Views, 1 Comment
    Title:
    Downloading an attachment appends an underscore to the filename
    Content:

    Hi,

    https://username:password@example.custhelp.com/services/rest/connect/v1.3/WMPConvo.record/3/FileAttachments/1?download

    This downloads the file but adds an underscore to the end of the filename

    Why?

    What can be done to resolve this. I can't use readfile along with PHP headers so that option is out

    Any ideas?

    Comment

     

    • Tushar Gupta

      Hi,

      Have you tried the below, this is working fine.
      https://example.custhelp.com/services/rest/connect/v1.3/opportunities/resource_id/fileAttachments/attachment_id?download

      Thanks