[jQuery] Ajax Upload

[jQuery] Ajax Upload

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18783"></HEAD>
<BODY>
<DIV><FONT size=2 face="Trebuchet MS"><SPAN class=823324001-18072009>I an using
the Valums ajax upload script, working fine...</SPAN></FONT></DIV>
<DIV><FONT size=2 face="Trebuchet MS"><SPAN
class=823324001-18072009></SPAN></FONT> </DIV>
<DIV><FONT size=2 face="Trebuchet MS"><SPAN class=823324001-18072009>But i have
a question about using jquery to change the file name.</SPAN></FONT></DIV>
<DIV><FONT size=2 face="Trebuchet MS"><SPAN
class=823324001-18072009></SPAN></FONT> </DIV>
<DIV><FONT size=2 face="Trebuchet MS"><SPAN class=823324001-18072009>A user
might be uploading 7.jpg and on the server I rename the file to match the user
and unique id so 7.jpg turns into something like
[username]_15987456.jpg</SPAN></FONT></DIV>
<DIV><FONT size=2 face="Trebuchet MS"><SPAN
class=823324001-18072009></SPAN></FONT> </DIV>
<DIV><FONT size=2 face="Trebuchet MS"><SPAN class=823324001-18072009>When the
file is uploaded it says 7.jpg uploaded but how can i either rename the file
before uploading it and not renameit on the server or get the
[username]_15987456.jpg after the upload?</SPAN></FONT></DIV>
<DIV><FONT size=2 face="Trebuchet MS"><SPAN
class=823324001-18072009></SPAN></FONT> </DIV>
<DIV><FONT size=2 face="Trebuchet MS"><SPAN
class=823324001-18072009>Thanks,</SPAN></FONT></DIV>
<DIV> </DIV>
<DIV align=left><FONT size=2 face=Arial>Dave </FONT></DIV></BODY></HTML>