You can't rename the file on the user's computer. Only the final saved
file on the server-side. You'd have to change the script to change the
alert text making it seem like that file [username]_15987456.jpg was
uploaded.

On Jul 17, 3:45 pm, "Dave Maharaj :: WidePixels.com"
<[email protected]> wrote:
> I an using the Valums ajax upload script, working fine...
>
> But i have a question about using jquery to change the file name.
>
> 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
>
> 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?
>
> Thanks,
>
> Dave

Reply via email to