[File Upload] ReadContent never returns correct results (i.e. Message, TempPath, or FileSize)?

[File Upload] ReadContent never returns correct results (i.e. Message, TempPath, or FileSize)?

  
Forge Component
(17)
Published on 5 Sep by Carlos Alfaro
17 votes
Published on 5 Sep by Carlos Alfaro

No matter what I try, when I use FileUpload_ReadContent from the result of FileUpload_GetResult, Message comes back as the Filename (Documentation says it should be the Status?), and TempPath is "", and FileSize is 0,

I get the same results in the built-in sample app.... 

Platform Server 10.0.603.0 and Service Studio 10.0.613.0

Hello Taka,

I confirm the problem. Looking in the forum, I found THIS.
As we are in a .NET stack (I am, I think you too), this ".jsf" extension will probably cause problems.

I changed it to "aspx" as it is recommended in the topic and it is working now.

Cheers,
Eduardo Jauch

Solution

Hi Eduardo & Takata,

A new version of the component was published to fix the issue you mentioned here.


Cheers,

João Carvalho

Solution

Thanks  João :)