This would be a nice feature request :). I hope it gets out soon.
Regards
Jithesh
On Thursday, August 25, 2011 at 1:21 PM, Mark Herman wrote:
> FYI https://issues.apache.org/jira/browse/SLING-2166 (file upload limit)
>
>
> -Original Message-
> From: Jithesh A P [mailto:jithesh...@gma
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
Jithe
Thanks Mark.
Regards
Jithesh
On Thursday, August 25, 2011 at 1:07 PM, Mark Herman wrote:
> Not that I'm aware of.
>
> One thing I noticed, with the example I gave you, there are some limits with
> request.getParameter() [1] (Servlet API) so you may want to use
> slingRequest.getRequestParame
Not that I'm aware of.
One thing I noticed, with the example I gave you, there are some limits with
request.getParameter() [1] (Servlet API) so you may want to use
slingRequest.getRequestParameter() [2] (Sling API) instead. That will give
you .getSize() and .getInputStream().
[1] http://sling.
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 well :)
Regards
Jithesh
On Th
Hmm ok. I don't have the virus api yet, i will be provided with one soon.
Let me start from this suggestion below and and get hold of some person who can
help me out with java as needed.
Thanks for the
Regards
Jithesh
On Thursday, August 25, 2011 at 12:10 PM, Mark Herman wrote:
> The 3rd e
The 3rd example of a POST.jsp gets you 90% of the way there, but I don't see
how you're going to completely avoid java.
How do you plan on performing this virus scan?
Assuming you have some java based virus scan api, you can take the POST.jsp
they give you and replace this line:
contentNode.set
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
Thank you very much for the quick response Mark. I did have a look at that
link, but did not get an answer to what i was looking for. Let me elaborate.
Let me put it in simple terms (without getting into my need complexity :)),
What i need is
I have an HTML form to upload files.
I can hand it ov
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
Not sure about "hand it back to normal POST operation" but this[1] may get
you what you need.
[1] http://dev.day.com/content/ddc/blog/2008/07/fileuploadsinsling.html
-Original Message-
From: Jithesh A P [mailto:jithesh...@gmail.com]
Sent: Thursday, August 25, 2011 1:59 PM
To: users@slin
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
12 matches
Mail list logo