By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,576 Members | 1,360 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,576 IT Pros & Developers. It's quick & easy.

Rename File on Download

P: n/a
I have a standard template file that is available for download
(currently just an anchor tag). I would like to rename the file that
is sent to the client (to include an ID used by the template) so if the
user saves the file rather than opens it, it will have the necessary
info to work properly when it is opened. Is there a means via
javascript to rename the file being downloaded?

Thanks very much!

Oct 10 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
go**********@moffittsystems.com wrote:
I have a standard template file that is available for download
(currently just an anchor tag). I would like to rename the file that
is sent to the client (to include an ID used by the template) so if the
user saves the file rather than opens it, it will have the necessary
info to work properly when it is opened. Is there a means via
javascript to rename the file being downloaded?

Thanks very much!
That is a server-side operation.

Oct 10 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.