Hello all:

I am trying to extract a JPG binary image from our LDAP server but I get 
back only the first 4 bytes, the rest seems truncated. Any help? The 
code I use is:

<cfldap server="our server here"
action="query"
name="getUserPhoto"
attributes="jpegPhoto"
start="<our start dn>"
filter="(&(uid=userID))">

The code above works on CF5 and crashes on MX. In CF5, the length of the 
returned getUserPhoto.jpegPhoto is 4 bytes only, not the whole 2KB image.

Any help?

Thanks in advance -

Dimo Michailov

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89
70.4
                                

Reply via email to