Hi all, I have a text file (including new lines) which I want to store on the LDAP server. I understand that to do this I need to treat the data as Base 64 encoded data. However, how do I convert my data to base 64 encoded data and more importantly how do I convert is back to the original format after I retrieve the base 64 encoded data via an ldapsearch? Cheers, Ray.