2 Replies Latest reply on Jul 13, 2009 8:13 AM by AKloft

    Writing to a file with a special character

    AKloft Level 2

      Greetings,

       

      I'm sort of "in training" using workbench and ran across a problem that involves writing to a file.  Essentially the process is this:

       

      1. User uploads a file (e.g. "100% Carbs.doc")

      2. Variables are set and trying to save the file using the process causes an error because of the % symbol (confirmed by removing the % and having it save perfectly).

       

      So I was wondering if the % sign is a special character in workbench?  If it's not, why does workbench keep telling me there is a syntax error in the expression (/process_data/data/sFilename, where sFilename = 100% Carbs.doc)?

       

      Thanks, and if any further explaination is needed, please let me know).