Re: [Arsperl-users] Error with GetEntryBLOB using ARSPerl 1.8002
Brought to you by:
jeffmurphy
|
From: Thilo S. <thi...@ap...> - 2006-09-13 18:53:52
|
I don't see any reason why this shouldn't work with ARSperl 1.8002. The call syntax also seems to be mostly correct, except that the entry id parameter looks a bit strange. It should definitely be quoted to prevent numeric evaluation of the contained "-" character. You might also try using the number 2 directly instead of the defined constant AR_LOC_BUFFER (or 1 for AR_LOC_FILENAME). Regards, Thilo Stapff Galloway, Mark J (Mark) schrieb: > > We are having a problem with the GetEntryBLOB call (ARSPerl 1.8002 is > our version). Our statement > is as follows: > > my $a = ars_GetEntryBLOB($c, $schema, 5-0047660, 910000325, > ARS::AR_LOC_BUFFER); > > It is an Attachment field we are retrieving. But we keep getting the > following error no matter > what we try: > > GetEntryBLOB: [ERROR]* locType parameter is required*. (*ARERR #80006*) > at ./ARAttachmentUpload.pl line 64, <DATA> > line 123. > > * NOTE: We also get this when trying to pull the attachment into a > file and using the ARS::AR_LOC_FILENAME* > We've tried different entry ids, etc. Is there something we are > missing ? Is it possible we need to go to a later version > > of ARSPerl ? > Any help would be greatly appreciated. > Thanks, > > Mark J. Galloway > (630) 224-2101 > mga...@lu... > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > ------------------------------------------------------------------------ > > _______________________________________________ > Arsperl-users mailing list > Ars...@ar... > https://lists.sourceforge.net/lists/listinfo/arsperl-users |