Do this:
Response.Write(Replace(Upload.Files(1).ExtractFile name, "'", "''"))
What does that generate?
I suspect that its a stray ' that is causing your problem but can't be sure based on your code.
-------------------------
I will only tell you how to do it, not do it for you.
Unless, of course, you want to hire me to do work for you.
^^Thats my signature
|