Jump to content
uniGUI Discussion Forums
docjones

Multiple File Upload

Recommended Posts

Hi.

This example, show how to upload one or multiple files using javascript and ajax notification.

the example show file upload progress and uploaded completed, and save the uploaded files in server folder.



simply drag files into blue box.

example using unigui 0.89 and xe2.

MuploadSample_en.zip

 

05-12-2016: Modified for latest uniGUI version. (Farshad)

MuploadSample_en.rar

  • Like 1
  • Upvote 5

Share this post


Link to post
Share on other sites

Hi,

 

Good example, :o

 

 

Thank you,

Maher Ahmad

Share this post


Link to post
Share on other sites

I have made two changes:

1. The uploading and uploaded files are displayed in the blue area itself.

2. Now everything is in one Frame, so it can be easy included on own forms in other projects.

To use it in other projects you can:
- copy UfraMultiUpload.pas and UfraMultiUpload.dfm to your project
- add UfraMultiUpload.pas to your project
- choose "Standard -> Frames" in component palette and insert "fraMultiUpload" on your own form
- done

 

post-147-0-05956800-1359728114_thumb.png

 

MuploadSample_en.zip

 

edit: attachements uploaded again

 

  • Upvote 1

Share this post


Link to post
Share on other sites

I have made two changes:

 

1. The uploading and uploaded files are displayed in the blue area itself.

 

2. Now everything is in one Frame, so it can be easy included on own forms in other projects.

 

To use it in other projects you can:

- copy UfraMultiUpload.pas and UfraMultiUpload.dfm to your project

- add UfraMultiUpload.pas to your project

- choose "Standard -> Frames" in component palette and insert "fraMultiUpload" on your own form

- done

 

 

 

 

 

Thank you. It's very useful.

Share this post


Link to post
Share on other sites

I have made two changes:

 

1. The uploading and uploaded files are displayed in the blue area itself.

 

2. Now everything is in one Frame, so it can be easy included on own forms in other projects.

 

To use it in other projects you can:

- copy UfraMultiUpload.pas and UfraMultiUpload.dfm to your project

- add UfraMultiUpload.pas to your project

- choose "Standard -> Frames" in component palette and insert "fraMultiUpload" on your own form

- done

 

attachicon.gifMupload.png

 

attachicon.gifMuploadSample_en.zip

 

 

how can get the example?

when I try to download the example this get me that error:

Oops! Something went wrong!

       

            We could not find the attachment you were attempting to view

-------------------------------------------------------------------------------

Thank you for help me!

Share this post


Link to post
Share on other sites

Unfortunately as a result of recovery process in our server some of the attachments are gone. I kindly ask the original poster to reupload the file.

If anyone else owns the file please upload it here.

Share this post


Link to post
Share on other sites

Thanks. I updated the original post with above file.

 

You have updated post #1, I think it was the version of (my) post #4.

 

Now I have updated #4 with example (.zip) and screenshot.

Share this post


Link to post
Share on other sites

Your example is fantastic.....good to be transformed on a TUniMultipleUpload component.

Share this post


Link to post
Share on other sites

error

[dcc32 Fatal Error] uIdGlobal.pas(535): F1026 File not found: 'D:\YAZILIM\MuploadSample_en\Windows.dcu'
  • Upvote 1

Share this post


Link to post
Share on other sites

×