Jump to content


Photo

Multiple File Upload


  • Please log in to reply
33 replies to this topic

#1 docjones

docjones

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 101 posts

Posted 15 November 2012 - 09:04 AM

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.

Attached File  MuploadSample_en.zip   85.66KB   957 downloads

 

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

Attached File  MuploadSample_en.rar   6.41KB   176 downloads


  • 5

#2 Maher Ahmad

Maher Ahmad

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 110 posts
  • LocationKufur Kassem, Palestine

Posted 15 November 2012 - 11:04 AM

Hi,

Good example, :o


Thank you,
Maher Ahmad
  • 0

#3 ldb68

ldb68

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 181 posts

Posted 15 November 2012 - 01:50 PM

Hi,

Good example, :o


Thank you,
Maher Ahmad


+1
  • 0

#4 Oliver Morsch

Oliver Morsch

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 267 posts
  • LocationGermany

Posted 05 December 2012 - 11:56 PM

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

 

Attached File  Mupload.png   367.08KB   618 downloads

 

Attached File  MuploadSample_en.zip   85.66KB   299 downloads

 

edit: attachements uploaded again

 


  • 1

#5 Alberto vesx

Alberto vesx

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 481 posts

Posted 06 December 2012 - 12:25 AM

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.
  • 0

#6 memoferprof

memoferprof

    Member

  • Members
  • PipPip
  • 26 posts

Posted 28 January 2013 - 07:40 PM

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!


  • 0

#7 Farshad Mohajeri

Farshad Mohajeri

    Administrator

  • Administrators
  • 10245 posts

Posted 29 January 2013 - 04:10 PM

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.


  • 0

#8 Schuiab

Schuiab

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 338 posts

Posted 29 January 2013 - 04:39 PM

Found it, attached

 

Attached File  MuploadSample_en.zip   85.66KB   957 downloads


  • 0

#9 Farshad Mohajeri

Farshad Mohajeri

    Administrator

  • Administrators
  • 10245 posts

Posted 29 January 2013 - 04:50 PM

Found it, attached

 

attachicon.gifMuploadSample_en.zip

 

Thanks. I updated the original post with above file.


  • 0

#10 Oliver Morsch

Oliver Morsch

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 267 posts
  • LocationGermany

Posted 01 February 2013 - 02:22 PM

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.


  • 0

#11 cmj

cmj

    Member

  • Members
  • PipPip
  • 10 posts

Posted 05 February 2013 - 08:44 AM

The sample(MuploadSample_en.zip) doesn't work in ie9.


  • 0

#12 Oliver Morsch

Oliver Morsch

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 267 posts
  • LocationGermany

Posted 05 February 2013 - 02:55 PM

The sample(MuploadSample_en.zip) doesn't work in ie9.

 

IE9 has no support:

 

http://caniuse.com/#feat=filereader


  • 0

#13 knopix

knopix

    Active Member

  • Members
  • PipPipPip
  • 71 posts

Posted 02 March 2013 - 02:37 AM

how to upload excel file in the application form with some sheet unigui?


  • 0

#14 ZigZig

ZigZig

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 340 posts

Posted 01 September 2013 - 06:58 PM

Very useful and well documented.  Thanks a lot!


  • 0

#15 Mr Mortymer

Mr Mortymer

    Member

  • Banned
  • PipPip
  • 26 posts

Posted 14 October 2013 - 09:15 PM

Great Work!


  • 0
"The World Is Not Enough!"

#16 altagur

altagur

    Advanced Member

  • Members
  • PipPipPipPip
  • 127 posts

Posted 14 November 2013 - 05:56 AM

Very useful fantastic Thanks!!!


  • 0

#17 Oscar Flor

Oscar Flor

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 140 posts
  • LocationAsuncion

Posted 17 February 2016 - 08:38 PM

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


  • 0

Oscar Flor
Sebaot Software


#18 allenchow

allenchow

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 154 posts

Posted 13 October 2016 - 09:32 AM

Not work 


  • 1

#19 Erkan ÇAĞLAR

Erkan ÇAĞLAR

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 177 posts
  • LocationSamsun / Türkiye

Posted 02 November 2016 - 01:19 PM

error

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

  • 1

#20 Emilio Rueda

Emilio Rueda

    Member

  • uniGUI Subscriber
  • PipPip
  • 20 posts

Posted 12 November 2016 - 04:52 PM

I think ajaxRequest does not work with Frames anymore ..


  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users