File Name Considerations

If the source file name specified using one of the file attachment contains any of the following characters, the invoking function will be stopped and an error (%Attachment_Failed) is returned. The actual error message can be found in the logs.

  • * (asterisk)

  • : (colon)

  • " (quotation mark)

  • < (less than symbol)

  • > (greater than symbol)

  • ? (question mark)

  • / (forward slash)

  • \ (backslash)

  • | (vertical bar or pipe)

File names that contain Unicode characters are not supported on a non-Unicode database. In this case, the file attachment fails and an error (%Attachment_Rejected) is returned.

When the file is uploaded to or downloaded from a storage location, the following characters are replaced with an underscore:

  • (space)

  • @ (at sign)

  • ; (semicolon)

  • + (plus sign)

  • % (percent sign)

  • & (ampersand)

  • ' (apostrophe)

  • ! (exclamation point)

  • # (pound sign)

  • $ (dollar sign)

Note:

In general, you should exercise caution when using an @ or : character in the name of a file selected for uploading. In FTP URLs, the : character must to be used as a delimiter between the FTP user ID and the FTP password or just before the FTP port number (if one is specified). In addition, in FTP URLs, the @ character must be used as a delimiter between the FTP password and the FTP server address.