Re: processing POST help - direction needed

2011-08-25 Thread Jithesh A P
[mailto:jithesh...@gmail.com] > Sent: Thursday, August 25, 2011 4:11 PM > To: users@sling.apache.org (mailto:users@sling.apache.org) > Subject: Re: processing POST help - direction needed > > Thanks Mark. > > Regards > Jithesh > > > > On Thursday, August 25, 2011

RE: processing POST help - direction needed

2011-08-25 Thread Mark Herman
FYI https://issues.apache.org/jira/browse/SLING-2166 (file upload limit) -Original Message- From: Jithesh A P [mailto:jithesh...@gmail.com] Sent: Thursday, August 25, 2011 4:11 PM To: users@sling.apache.org Subject: Re: processing POST help - direction needed Thanks Mark. Regards

Re: processing POST help - direction needed

2011-08-25 Thread Jithesh A P
Original Message- > From: Jithesh A P [mailto:jithesh...@gmail.com] > Sent: Thursday, August 25, 2011 3:44 PM > To: users@sling.apache.org (mailto:users@sling.apache.org) > Subject: Re: processing POST help - direction needed > > A quick follow up question, i was browsing doc

RE: processing POST help - direction needed

2011-08-25 Thread Mark Herman
t: Re: processing POST help - direction needed A quick follow up question, i was browsing documentation and i think there is no configurable parameter at present to set the max file size that can be uploaded. I hope i am right, unless i missed something. If such a thing was there that could have helped me as

Re: processing POST help - direction needed

2011-08-25 Thread Jithesh A P
Utility.isDirty(bytes)){ > > //infected so throw exception > > } > > contentNode.setProperty("jcr:data", new ByteArrayInputStream(bytes)); > > ... > > > > > > -----Original Message- > > From: Jithesh A P [mailto:jithesh...@gmail.com] > &

Re: processing POST help - direction needed

2011-08-25 Thread Jithesh A P
age- > From: Jithesh A P [mailto:jithesh...@gmail.com] > Sent: Thursday, August 25, 2011 2:31 PM > To: users@sling.apache.org (mailto:users@sling.apache.org) > Subject: Re: processing POST help - direction needed > > Thank you very much for the quick response Mark. I did have a look

RE: processing POST help - direction needed

2011-08-25 Thread Mark Herman
sage- > From: Jithesh A P [mailto:jithesh...@gmail.com] > Sent: Thursday, August 25, 2011 1:59 PM > To: users@sling.apache.org (mailto:users@sling.apache.org) > Subject: processing POST help - direction needed > > Hi Folks, > > I am stuck at how to handle post of a

Re: processing POST help - direction needed

2011-08-25 Thread Jithesh A P
Hmm since i am not a Java person and pretty new into programming, want to see if i can circumvent my issue using .esp. Regards Jithesh On Thursday, August 25, 2011 at 11:28 AM, Justin Edelson wrote: > How about using a filter for this extra processing? > > Alternatively, you could use a Post

Re: processing POST help - direction needed

2011-08-25 Thread Jithesh A P
; Sent: Thursday, August 25, 2011 1:59 PM > To: users@sling.apache.org (mailto:users@sling.apache.org) > Subject: processing POST help - direction needed > > Hi Folks, > > I am stuck at how to handle post of a file. For example i want to upload a > file, do some processing lik

Re: processing POST help - direction needed

2011-08-25 Thread Justin Edelson
How about using a filter for this extra processing? Alternatively, you could use a PostProcessor. At that point, the file node/properties have been created in the Session, but the Session has not been saved, so you can abort at that point. HTH, Justin On Thu, Aug 25, 2011 at 1:58 PM, Jithesh A P

RE: processing POST help - direction needed

2011-08-25 Thread Mark Herman
To: users@sling.apache.org Subject: processing POST help - direction needed Hi Folks, I am stuck at how to handle post of a file. For example i want to upload a file, do some processing like check for virus (during POST), then hand it back to normal POST operation. Is it possible to achieve

processing POST help - direction needed

2011-08-25 Thread Jithesh A P
Hi Folks, I am stuck at how to handle post of a file. For example i want to upload a file, do some processing like check for virus (during POST), then hand it back to normal POST operation. Is it possible to achieve this using POST.esp and how? Your input will be greatly appreciated. Regards