On 2 Oct 2007, at 14:49, Thierry wrote: > > I'm following the file upload tutorial: > > http://docs.turbogears.org/1.0/FileUploadTutorial > > The above does not work well when I run turbogears on a linux machine > and accessing the web page through Internet Explorer. The uploaded > file on the server through IE looks like the following: > > C:\Documents and Settings\lamt\Desktop\20070905.jpg > > If I try to upload the same file with Firefox, I get: > > 20070905.jpg > >> From the tutorial codes, it looks like upload_file.filename is not > returning the same filename for different browsers. Is that a bug in > turbogears or something we should handle? If it's from our side, > what's the best way to fix it? >
Some browsers send the path, some don't. You just need to handle both cases on the server side. Cheers Chris Miles --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

