Mailing List Archive

HTML5 Multiple File Upload?
Does anyone know if Embperl can handle multiple file uploads from HTML5?
If so, how do you process the different files on the server side?

This works in many browsers now, so it would be nice to be able to wean
myself away from the Flash widget I'm using currently for this.

Thanks in advance for any tips...

Neil

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
AW: HTML5 Multiple File Upload? [ In reply to ]
Hi,

I never did it so far, but I would expect that it works similar to normal file upload. Embperl uses CGI.pm under the hood for file upload, so if CGI.pm can handle multiple files, Embperl should be able to do the same

The file upload stuff is pure Perl code (in Embperl.pm, sub get_multipart_formdata) so you should be able to make changes if necessary on your own

Gerald


-----Urspr√ɬľngliche Nachricht-----
Von: Neil Gunton [mailto:neil@nilspace.com]
Gesendet: Samstag, 15. Oktober 2016 17:21
An: embperl@perl.apache.org
Betreff: HTML5 Multiple File Upload?

Does anyone know if Embperl can handle multiple file uploads from HTML5?
If so, how do you process the different files on the server side?

This works in many browsers now, so it would be nice to be able to wean
myself away from the Flash widget I'm using currently for this.

Thanks in advance for any tips...

Neil

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
Re: HTML5 Multiple File Upload? [ In reply to ]
how did you solve this

On Sat, Oct 15, 2016 at 08:20:38AM -0700, Neil Gunton wrote:
> Does anyone know if Embperl can handle multiple file uploads from
> HTML5? If so, how do you process the different files on the server
> side?
>
> This works in many browsers now, so it would be nice to be able to
> wean myself away from the Flash widget I'm using currently for this.
>
> Thanks in advance for any tips...
>
> Neil
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> For additional commands, e-mail: embperl-help@perl.apache.org

--
So many immigrant groups have swept through our town
that Brooklyn, like Atlantis, reaches mythological
proportions in the mind of the world - RI Safir 1998
http://www.mrbrklyn.com

DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002
http://www.nylxs.com - Leadership Development in Free Software
http://www2.mrbrklyn.com/resources - Unpublished Archive
http://www.coinhangout.com - coins!
http://www.brooklyn-living.com

Being so tracked is for FARM ANIMALS and extermination camps,
but incompatible with living as a free human being. -RI Safir 2013


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
Re: HTML5 Multiple File Upload? [ In reply to ]
I use Dropzone.js to achieve the client side multiple file selection:

https://www.dropzonejs.com/

It's received on the server side as usual, since the files are uploaded
as separate requests, as if they were selected and uploaded one by one.
So it might not give you technically full HTML5 "multiple files in one
upload request" functionality, but it does achieve the desired effect
from the user's point of view, and bonus is that it requires no changes
or special processing on the server side.

Hope that helps,

Neil

On 3/3/20 9:45 AM, Ruben Safir wrote:
> how did you solve this
>
> On Sat, Oct 15, 2016 at 08:20:38AM -0700, Neil Gunton wrote:
>> Does anyone know if Embperl can handle multiple file uploads from
>> HTML5? If so, how do you process the different files on the server
>> side?
>>
>> This works in many browsers now, so it would be nice to be able to
>> wean myself away from the Flash widget I'm using currently for this.
>>
>> Thanks in advance for any tips...
>>
>> Neil
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
>> For additional commands, e-mail: embperl-help@perl.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
Re: HTML5 Multiple File Upload? [ In reply to ]
On Tue, Mar 03, 2020 at 09:52:31AM -0800, Neil Gunton wrote:
> I use Dropzone.js to achieve the client side multiple file selection:
>
> https://www.dropzonejs.com/

Can I host the javascript locally?


>
> It's received on the server side as usual, since the files are
> uploaded as separate requests, as if they were selected and uploaded
> one by one. So it might not give you technically full HTML5
> "multiple files in one upload request" functionality, but it does
> achieve the desired effect from the user's point of view, and bonus
> is that it requires no changes or special processing on the server
> side.
>
> Hope that helps,
>
> Neil
>
> On 3/3/20 9:45 AM, Ruben Safir wrote:
> >how did you solve this
> >
> >On Sat, Oct 15, 2016 at 08:20:38AM -0700, Neil Gunton wrote:
> >>Does anyone know if Embperl can handle multiple file uploads from
> >>HTML5? If so, how do you process the different files on the server
> >>side?
> >>
> >>This works in many browsers now, so it would be nice to be able to
> >>wean myself away from the Flash widget I'm using currently for this.
> >>
> >>Thanks in advance for any tips...
> >>
> >>Neil
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> >>For additional commands, e-mail: embperl-help@perl.apache.org
> >

--
So many immigrant groups have swept through our town
that Brooklyn, like Atlantis, reaches mythological
proportions in the mind of the world - RI Safir 1998
http://www.mrbrklyn.com

DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002
http://www.nylxs.com - Leadership Development in Free Software
http://www2.mrbrklyn.com/resources - Unpublished Archive
http://www.coinhangout.com - coins!
http://www.brooklyn-living.com

Being so tracked is for FARM ANIMALS and extermination camps,
but incompatible with living as a free human being. -RI Safir 2013


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
Re: HTML5 Multiple File Upload? [ In reply to ]
On 3/3/20 9:55 AM, Ruben Safir wrote:
> On Tue, Mar 03, 2020 at 09:52:31AM -0800, Neil Gunton wrote:
>> I use Dropzone.js to achieve the client side multiple file selection:
>>
>> https://www.dropzonejs.com/
>
> Can I host the javascript locally?

Yes

>> It's received on the server side as usual, since the files are
>> uploaded as separate requests, as if they were selected and uploaded
>> one by one. So it might not give you technically full HTML5
>> "multiple files in one upload request" functionality, but it does
>> achieve the desired effect from the user's point of view, and bonus
>> is that it requires no changes or special processing on the server
>> side.
>>
>> Hope that helps,
>>
>> Neil
>>
>> On 3/3/20 9:45 AM, Ruben Safir wrote:
>>> how did you solve this
>>>
>>> On Sat, Oct 15, 2016 at 08:20:38AM -0700, Neil Gunton wrote:
>>>> Does anyone know if Embperl can handle multiple file uploads from
>>>> HTML5? If so, how do you process the different files on the server
>>>> side?
>>>>
>>>> This works in many browsers now, so it would be nice to be able to
>>>> wean myself away from the Flash widget I'm using currently for this.
>>>>
>>>> Thanks in advance for any tips...
>>>>
>>>> Neil
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
>>>> For additional commands, e-mail: embperl-help@perl.apache.org
>>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
Re: HTML5 Multiple File Upload? [ In reply to ]
On Tue, Mar 03, 2020 at 09:56:50AM -0800, Neil Gunton wrote:
> On 3/3/20 9:55 AM, Ruben Safir wrote:
> >On Tue, Mar 03, 2020 at 09:52:31AM -0800, Neil Gunton wrote:
> >>I use Dropzone.js to achieve the client side multiple file selection:
> >>
> >>https://www.dropzonejs.com/
> >
> >Can I host the javascript locally?
>
> Yes

Great! thanks
>
> >>It's received on the server side as usual, since the files are
> >>uploaded as separate requests, as if they were selected and uploaded
> >>one by one. So it might not give you technically full HTML5
> >>"multiple files in one upload request" functionality, but it does
> >>achieve the desired effect from the user's point of view, and bonus
> >>is that it requires no changes or special processing on the server
> >>side.
> >>
> >>Hope that helps,
> >>
> >>Neil
> >>
> >>On 3/3/20 9:45 AM, Ruben Safir wrote:
> >>>how did you solve this
> >>>
> >>>On Sat, Oct 15, 2016 at 08:20:38AM -0700, Neil Gunton wrote:
> >>>>Does anyone know if Embperl can handle multiple file uploads from
> >>>>HTML5? If so, how do you process the different files on the server
> >>>>side?
> >>>>
> >>>>This works in many browsers now, so it would be nice to be able to
> >>>>wean myself away from the Flash widget I'm using currently for this.
> >>>>
> >>>>Thanks in advance for any tips...
> >>>>
> >>>>Neil
> >>>>
> >>>>---------------------------------------------------------------------
> >>>>To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> >>>>For additional commands, e-mail: embperl-help@perl.apache.org
> >>>
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> For additional commands, e-mail: embperl-help@perl.apache.org

--
So many immigrant groups have swept through our town
that Brooklyn, like Atlantis, reaches mythological
proportions in the mind of the world - RI Safir 1998
http://www.mrbrklyn.com

DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002
http://www.nylxs.com - Leadership Development in Free Software
http://www2.mrbrklyn.com/resources - Unpublished Archive
http://www.coinhangout.com - coins!
http://www.brooklyn-living.com

Being so tracked is for FARM ANIMALS and extermination camps,
but incompatible with living as a free human being. -RI Safir 2013


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org