Jump to content


Photo

unigui+fineuploader


  • Please log in to reply
17 replies to this topic

#1 ganzqgy

ganzqgy

    Advanced Member

  • Members
  • PipPipPipPip
  • 143 posts

Posted 05 July 2014 - 08:10 AM

unigui+fineuploader

Attached Files


  • 2

#2 ganzqgy

ganzqgy

    Advanced Member

  • Members
  • PipPipPipPip
  • 143 posts

Posted 05 July 2014 - 08:46 AM

http://fineuploader.com/demos.html


  • 0

#3 chefdackel

chefdackel

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 170 posts
  • LocationGermany

Posted 05 July 2014 - 09:00 AM

 

great:

 

from the demo feature description of the uploader:

 

  • restriction to jpeg, jpg, and txt files,
  • restriction to a maximum file size of xxx kB,

 

--> that would be great - and just missing in UniGui file uploading features (up to 0.95).

 

 

bad: 

 

$79 - Single Hostname Server (e.g. uploader.example.com) - 1 year

$480 - Single Software-as-a-Service or Single Installed Application (unlimited domain) (includes one free support request) - 1 year

 

--> so if you want to use it for commercial applications, this may pull your money out of the pocket very fast. And every year. I do not like these "single domain licences".


  • 0

#4 ganzqgy

ganzqgy

    Advanced Member

  • Members
  • PipPipPipPip
  • 143 posts

Posted 05 July 2014 - 12:39 PM

unigui+fineuploader+plupload.flash.swf

Attached Files


  • 0

#5 ganzqgy

ganzqgy

    Advanced Member

  • Members
  • PipPipPipPip
  • 143 posts

Posted 05 July 2014 - 12:43 PM

this

Attached Files


  • 0

#6 ganzqgy

ganzqgy

    Advanced Member

  • Members
  • PipPipPipPip
  • 143 posts

Posted 05 July 2014 - 02:40 PM

new

Attached Files


  • 0

#7 uniguibbs

uniguibbs

    Advanced Member

  • Members
  • PipPipPipPip
  • 136 posts

Posted 07 July 2014 - 05:42 AM

when files upload completed , how to close the parent window?


  • 0

#8 ganzqgy

ganzqgy

    Advanced Member

  • Members
  • PipPipPipPip
  • 143 posts

Posted 07 July 2014 - 01:06 PM

<script type="text/javascript">
$(function() {
$("#uploader").plupload({
  runtimes : 'html5,flash,silverlight,html4',
  url : '{gggggg}',
  max_file_size : '1000mb',
  max_file_count: 20,
  multi_selection: true,
      chunk_size: '1mb',
      //unique_names : true, //上传的文件名是否独一
  //resize:{width:200,height:200,quality:90,crop:true},//是否生成缩略图(仅对图片文件有效)
  filters:[{title:"Image files",extensions:"jpg,gif,png"},{title:"Zip files",extensions:"zip,avi"}],
  rename: true,
  sortable: true,
  dragdrop: true,
  views:{list:true,thumbs:true,active:'thumbs'},
  flash_swf_url:'plup212/Moxie.swf',
  silverlight_xap_url:'plup212/Moxie.xap',
      init:{UploadComplete: function(up, files){
         top.ajaxRequest(top.MainForm.UniURLFrame2, 'gggggg', []);
         //alert(files.length);
      }
      }
});
});
</script>

 

 

procedure TMainForm.UniURLFrame2AjaxEvent(Sender: TComponent;
  EventName: string; Params: TStrings);
begin
  if EventName = 'gggggg' then
  begin
    // close;
  end;
end;


  • 0

#9 uniguibbs

uniguibbs

    Advanced Member

  • Members
  • PipPipPipPip
  • 136 posts

Posted 08 July 2014 - 04:37 AM

thanks ganzqgy.

it works.

 

i need a new function.

i want to get the unique filename and origin filename.

how can i get it?


  • 0

#10 chefdackel

chefdackel

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 170 posts
  • LocationGermany

Posted 14 October 2014 - 06:26 PM



unigui+fineuploader+plupload.flash.swf

 

Very nice and fun to play with, thank you. One problem:

 

If I use the fineuploader part of the demo I get an access violation on bigger files. Small files do work. can`t say exactly the limit, but I had no luck with files (JPG, BMP, PNG) above approx. 500kB. With the attached PNG example file I get an AV. Seems to be a problem in the compare function of the delphi code, I can´t figure out what exactly is the problem with this function. 

 

Attached File  carport1.png   525KB   109 downloads

 

brfc


  • 0

#11 uniguibbs

uniguibbs

    Advanced Member

  • Members
  • PipPipPipPip
  • 136 posts

Posted 22 November 2014 - 03:05 AM

do not work in iis.


  • 0

#12 chefdackel

chefdackel

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 170 posts
  • LocationGermany

Posted 23 November 2014 - 06:10 PM

do not work in iis.


What exactly is the problem?

brfc
  • 0

#13 uniguibbs

uniguibbs

    Advanced Member

  • Members
  • PipPipPipPip
  • 136 posts

Posted 29 November 2014 - 04:37 PM

when upload file,

the function "compareMem" run Error.

 

iis6.1 + windows Server2008R2 64bit


  • 0

#14 chefdackel

chefdackel

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 170 posts
  • LocationGermany

Posted 29 November 2014 - 05:54 PM

when upload file,

the function "compareMem" run Error.

 

iis6.1 + windows Server2008R2 64bit

 

yes, just as I remarked some posts above. I think I have a solution, just to check it next week and then I post it here.

 

brfc


  • 0

#15 uniguibbs

uniguibbs

    Advanced Member

  • Members
  • PipPipPipPip
  • 136 posts

Posted 17 December 2014 - 09:00 AM

yes, just as I remarked some posts above. I think I have a solution, just to check it next week and then I post it here.

 

brfc

 

Is there any good news?


  • 0

#16 _Mehmet_

_Mehmet_

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 515 posts
  • LocationAntalya / Turkey

Posted 20 May 2015 - 10:40 AM

How can I get the filename of the uploaded files?


  • 0

#17 logisticasoft

logisticasoft

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 217 posts

Posted 13 November 2015 - 08:00 PM

How can I get the filename of the uploaded files?

procedure TMainmForm.UnimFileUpload1Completed(Sender: TObject;
  AStream: TFileStream);
var
S:string;
BEGIN
s:= Sender as TUnimFileUpload).FileName ;
END

  • 0

Carlos Ramirez

ramirez.carlos@yahoo.com


#18 mmurgas

mmurgas

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 102 posts

Posted 25 January 2018 - 07:56 PM

display

 您没有安装Flash!

:( 


  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users