Hello,
I'm maintaining a application. In this application there a files (like .doc, .txt, .jpg) opened with:
Where file_link is a variable wich is comming from sql-server database.
But now somebody has deleted the file, while the name is still in the database.
Is there in Javascript a opportunity to test if the file exist like:
Can anybody help me with this.
Thanks in advance.
Greetings,
Nico
I'm maintaining a application. In this application there a files (like .doc, .txt, .jpg) opened with:
Code:
setFrame('frm_file', '/ALGEBESTANDEN/' + file_link);
Where file_link is a variable wich is comming from sql-server database.
But now somebody has deleted the file, while the name is still in the database.
Is there in Javascript a opportunity to test if the file exist like:
Code:
if (getFile(file_link) != null)
{
//the operation
}
Can anybody help me with this.
Thanks in advance.
Greetings,
Nico