Hi, The reason is that IE reports a different name than Firefox. The contents of this filename is not standardized; browsers make whatever they want out of it. We do not want to 'sanitize' or 'equalize' this in the library because we do not know what browsers will do with this in the future. It should only be used as a description.
Regards, Wim. 2008/5/13 zhimin song <[EMAIL PROTECTED]>: > hi, everyone > > WFileUpload::clientFileName() can't get the right name on IE, but on > FireFox is ok. > > if there is a file whose address is C:\Documents and > Settings\name\Lb\Temp\Wt, C++ Web Toolkit - Introduction.htm; > if on IE, the clientFileName() is C:\Documents and > Settings\name\Lb\Temp\Wt, C++ Web Toolkit - Introduction.htm(wrong) > but on FireFox, is FileName: Wt, C++ Web Toolkit - Introduction.htm(ok) > > what is the reason? > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > witty-interest mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/witty-interest > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
