I am using the htmlb Fileupload control to upload files into CM server. But the code always returns the file length as 0. On further investigation, I found something weird.
IFileParam fileParam = fu.getFile();
File f = fileParam.getFile();
String fileName = fileParam.getFileName();
Now f.getAbsolutePath() returns "C:\WINDOWS\TEMP\_htmlb118276612551531819.tmp" whereas fileName contains "test upload.txt" which is the actuall file I am trying to upload.
Pls help as I am lost here