uploading more than 1 file

Post any questions you have about using the Verj.io Studio, including client and server-side programming with Javascript or FPL, and integration with databases, web services etc.

Moderators: Jon, Steve, Ian, Dave

ajvanbergen
Ebase User
Posts: 1
Joined: Mon Oct 01, 2007 8:58 am
Location: Holland
Contact:

uploading more than 1 file

#1

Postby ajvanbergen » Wed Oct 17, 2007 2:25 pm

Can I upload more files in 1 upload.
Uploading 1 file is going ok but uploading 2 or 3 files does not work.
Is there a fplscript that can make this happen?

Regards,
Angelie
0 x

Jignesh
Ebase User
Posts: 12
Joined: Thu Sep 13, 2007 10:24 am

#2

Postby Jignesh » Fri Oct 19, 2007 8:47 am

There is no FPL script / command which will allow you to upload more that one file other than issue the UPLOAD command again.

But, I think this is a good idea and it would be nice to have this as a default functionality. I suggest you add this as an enhancement request.

As an alternative, you can always request your users to zip the files and then upload the zip file or ask them how many files then wish to upload and then logically fire the UPLOAD command to upload those files.

Regards,
Jignesh
0 x

User avatar
Joost
Ebase User
Posts: 49
Joined: Fri Sep 14, 2007 6:14 pm
Location: The Netherlands

#3

Postby Joost » Wed Oct 24, 2007 6:26 am

You could also use a table to store the uploaded file names. I mostly use a table with two columns to store the filename and user_filename.

An add row button triggers the upload dialog.

The addrow fpl command inserts the data into the table.

Put this in a component and you can reuse it in other forms.
0 x


Who is online

Users browsing this forum: No registered users and 6 guests