Click here to Skip to main content
15,886,362 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
How do i rename(i should enter the name by pop up window) the already downloaded file and move that file to local drive (D:/)
Posted

1 solution

A file that already downloaded is downloaded - so it is on client's machine, where any server side code (PHP) can not access it...
JavaScript - very fortunate - has no IO capabilities, so you can not use it to access (rename) any file...
What you can do is to change the order...
First choose the name, than download the file using the new name...
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900