perhaps you could create a user account on the target machine who's entire
job is to have access to that file/directory.
chris olive, cio
cresco technologies
[EMAIL PROTECTED]
http://www.crescotech.com
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday,
Never mind ... found the problem ... wrong code in one of the attributes.
H.
~~
Howard Owens
Internet Operations Coordinator
Ventura County Star / E.W. Scripps Co.
www.venturacountystar.com
[EMAIL PROTECTED]
AIM: GoCatGo1956
>I'm trying to retrieve a pdf file that is from a virtual directory on the
>webserver using cfhttp... can anybody tell me what I'm doing wrong? All
>I'm
>getting back is something that starts out like this:
>
>%PDF-1.2 %â£Ó 6 0 obj << /Linearized 1 /O 8 /H [ 997 192 ] /L 11898 /E
>9167
>/N 2 /
t: Re: Using cfhttp to display pdf file
>I'm trying to retrieve a pdf file that is from a virtual directory on the
>webserver using cfhttp... can anybody tell me what I'm doing wrong? All
>I'm
>getting back is something that starts out like this:
>
>%PDF-1.2 %â£Ó
>Thanks Dave,
>
>But now I'm getting this error:
>
>coldfusion.runtime.Cast$ComplexByteArrayException: ByteArray objects cannot
>be converted to strings.
>
OK, I got that error before when I was using getAsBinary on a PDF. Not
really sure why I got the error because a PDF is technically a binary
>Thanks Dave,
>
>But now I'm getting this error:
>
>coldfusion.runtime.Cast$ComplexByteArrayException: ByteArray objects cannot
>be converted to strings.
>
Actually, a quick read of the LiveDocs stuff might solve this. Try putting:
#toString(cfhttp.fileContent)#
when using the getAsBinary attrib
m: Dave Carabetta [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 18, 2003 1:55 PM
To: CF-Talk
Subject: RE: Using cfhttp to display pdf file
>Thanks Dave,
>
>But now I'm getting this error:
>
>coldfusion.runtime.Cast$ComplexByteArrayException: ByteArray objects cannot
>be con
>I saw that earlier.. but that didn't work for me either... running out of
>ideas =(
>
>
>url="">
>il_200310.pdf
>
>00310.pdf> "
> method="GET" getAsBinary="yes">
>
>
> #ToString (cfhttp.filecontent)#
Hmm, we display PDFs all the time without issue. Are you absolutely sure
nt: Tuesday, November 18, 2003 5:00 PM
> To: CF-Talk
> Subject: RE: Using cfhttp to display pdf file
>
>
> I saw that earlier.. but that didn't work for me either...
> running out of ideas =(
>
>
> url="">
> /2010AgingDeta
> il_2
riginal Message-
From: Jeff Beer [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 18, 2003 2:42 PM
To: CF-Talk
Subject: RE: Using cfhttp to display pdf file
Are you using cf5? I could not make it work on CF5, but it works like a
charm on CFMX (6.1):
method="GET">
type=&quo
10 matches
Mail list logo