Project

General

Profile

Bug #985

WFileUpload not working.....

Added by Anonymous about 10 years ago. Updated almost 10 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%.

#1

Updated by Koen Deforche about 10 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

#2

Updated by xxqwert xxqwert about 10 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...

#3

Updated by Koen Deforche about 10 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

#4

Updated by xxqwert xxqwert about 10 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 .....

#5

Updated by Koen Deforche about 10 years ago

Hey,

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

Regards,

koen

#6

Updated by Koen Deforche almost 10 years ago

  • Status changed from Feedback to Closed

Presumably this was a bug in the ubuntu packages ?

Also available in: Atom PDF