|
|
|||||||||
|
|||||||||
|
|||||||||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
Dear Members,
i want to copy a file (say a font file), from my web server to my client's folder (say c:\windows\fonts), this is not possible using ASP as that is Server Side script, but is there any way to copy the same using javascript as this is Client Side please help me with the code or an idea regards Sumeet
__________________
the coolest one |
|
#2
|
||||
|
||||
|
Ummm, provide a link to the file that says "Download." I know of no way in javascript to push a file onto a client system from the server. Perhaps you could write a signed applet that would do something like this.
|
|
#3
|
|||
|
|||
|
You cannot copy files from Server to client surreptitiously ... without the user's knowledge . That would happen only in 'Virus and Hacker Heaven'
![]() You could try <script language='javascript'> window.open('sample.ttf','topen') </script> This would give a pop up to the user asking if the file can be downloaded . Or else give a <a href > link and ask the user to download as dhouston suggested. cheers |
![]() |
| Viewing: Dev Articles Community Forums > Programming > JavaScript Development > copy a file on client computer |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|