Skip to Content
0
Former Member
Mar 02, 2009 at 12:29 PM

How to get the file size without reading file content (File upload UI )

46 Views

Hi Experts,

How to get the uploaded file size without reading IWDResource ????

with below coding i am getting file size

wdContext.currentContextElement().getSupport_File_Elem().read(false).available()

But with above code file is reading and returning the file size. Without reading the file content is there any way to get the file size.

My requirement is to put validation while uploading the file(with above code it is taking time for simple validation) .

Regards,

Satya.