Internet technologies and communication software



Filtering symbols in file names when writing attachments
Search  Users  Rules 
Close
Login:
Password:
Forgot your password?
Register
Login
 
Pages: 1
RSS
Filtering symbols in file names when writing attachments, How to filter symbols in %OSUBJ when using said parameter for naming directories?
 
I have a filter defined that writes attachments to directory blablabla/%OSUBJ if certain messages from certain clients contain attachments. This works, except when %OSUBJ contains symbols that are not allowed in directory names, like : and '

How do I filter these symbols? I'll need to put something around %OSUBJ, but what?

Also, I need to make sure the directory names do not become too long, so an instruction to truncate the directory name to say 50 characters would be welcome.
Edited: Loek van Kooten - 04.11.2013 11:00:15
Pages: 1
Users browsing this topic (1 guests)