Thread
:
FileUpload file validation through JavaScript
View Single Post
pradeep
Team Leader
27Jul2006,14:21
Yes! It's possible with JavaScript's FileSystem Object. Here's an example below:
Code: JavaScript
var
fso =
new
ActiveXObject
(
"Scripting.FileSystemObject"
)
;
fileBool = fso.
FileExists
(
"d:
\\
old.txt"
)
;