WIN23OLE and file_field

Hi every1,

I am using WIN23OLE to open and excel file, manipulate data and then
write the results in a database. Everything works find, or at least i
thought so.
I used the file’s path to open the excel file and worked

wb = xls.Workbooks.open(“c:\test.xls”)

… but now i am trying to accomplish the same thing using file_field in
a .rhtml page; i tried

wb = xls.Workbooks.open(params[:datafile]) and it doesn’t work.

Can someone please help. Any input is greatly appreciated.

Thank you,