Monday, November 2, 2009

Re: [jQuery] "file" upload without actual file

So send it as data. You could encode it as Base64.

On Mon, Nov 2, 2009 at 10:35 AM, ericjs <ericjswrycan@gmail.com> wrote:
> Hi,
>
> I need to post to a servlet where one parameter is a file...just as
> would be sourced with a file upload input in a form. However, I don't
> want to offer a file selection, or even have the client side file
> system involved at all. The contents of the "file" will be generated
> dynamically by the javascript. Can someone tell me how to do this /
> point me in the right direction?
>
> Thanks,
>
> Eric
>

No comments: