Project

General

Profile

Actions

Bug #985

closed

WFileUpload not working.....

Added by Anonymous over 12 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Immediate
Assignee:
Target version:
-
Start date:
09/09/2011
Due date:
% Done:

0%

Estimated time:

Description

The uploaded signal is never emitted when i try to upload a file. However the changed signal is always emitted and even the two parameters (the two unit64_t) become equal when the progress bar shows 100%.

Actions #1

Updated by Koen Deforche over 12 years ago

  • Status changed from New to Feedback
  • Assignee set to Koen Deforche

Hey,

What version of Wt are you using?

How does the code you use differ from what is for example used in examples/composer/Attachmentedit.C ?

Do you also catch the 'fileTooLarge()' signal in case the file was too large (the default file size accepted is only 128KB).

Regards,

koen

Actions #2

Updated by xxqwert xxqwert over 12 years ago

it's 3.1.10.

actually the thing is even the file attachment example code that came with the ppa installation on ubuntu, is not working !

the example i tried was 'examples/widgetgallery/FormWidgets.C' , it is the same code as the one used in http://www.webtoolkit.eu/widgets/form-widgets/wfileupload

firewall was disabled and the file is <700 bytes....

the example code you specified hangs on multiple file uploads, but it does show a green bar in progress section......

please tell what needs to be done...

Actions #3

Updated by Koen Deforche over 12 years ago

Hey,

This is all too weird. We need to check the ubuntu build then...

Does this fail with all browsers or a specific one ?

Does the online composer example work for you ?

http://www.webtoolkit.eu/wt/examples/composer/composer.wt

Regards,

koen

Actions #4

Updated by xxqwert xxqwert over 12 years ago

it fails with firefox, chrome (& chromium), opera, rekonq and internet explorer...havnt tried others....

yes the online example in the above link is working fine !

please suggest what should be done .....

Actions #5

Updated by Koen Deforche over 12 years ago

Hey,

Can you verify that it is a problem in the ubuntu packages by building Wt from source ?

Regards,

koen

Actions #6

Updated by Koen Deforche over 12 years ago

  • Status changed from Feedback to Closed

Presumably this was a bug in the ubuntu packages ?

Actions

Also available in: Atom PDF