How to delete a file after it's opened in a browser using javascri

I have to replace a excel file using javascript,but if the existing fi

Page 1 of 1

2 Replies - 1611 Views - Last Post: 17 July 2008 - 11:31 AM

#1 pinaki1037  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 19-June 08

How to delete a file after it's opened in a browser using javascri

Post icon  Posted 17 July 2008 - 06:35 AM

I have to replace a excel file using javascript,but if the existing file is opened, the deletion of that file cannot be possible.Actually before save the new file I want to delete the existing file.So please help me :blink:
Is This A Good Question/Topic? 0
  • +

Replies To: How to delete a file after it's opened in a browser using javascri

#2 ellisgl  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 9
  • View blog
  • Posts: 161
  • Joined: 10-November 07

Re: How to delete a file after it's opened in a browser using javascri

Posted 17 July 2008 - 11:16 AM

Are you trying to communicate with MS Excel itself?
Was This Post Helpful? 0
  • +
  • -

#3 PsychoCoder  Icon User is offline

  • Google.Sucks.Init(true);
  • member icon

Reputation: 1639
  • View blog
  • Posts: 19,853
  • Joined: 26-July 07

Re: How to delete a file after it's opened in a browser using javascri

Posted 17 July 2008 - 11:31 AM

You cannot use Javascript (a client-side language) to interact with a server. For this you need a server-side language (ASP, ASP.NET, PHP, JSP, etc)
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1