badwolfff
asked on
Use Jquery or AJAX to check if a file exists
How could I use jQuery or AJAX to check if there are:
1) a pdf
2) and an mp4
files in a folder?
I know the file names, if that is useful.
thanks in advance
1) a pdf
2) and an mp4
files in a folder?
I know the file names, if that is useful.
thanks in advance
You would have to have a program on the server that you contact that can check to see if the files are there. You can't check anything on the user's local machine.
ASKER
At present the site is on localhost
and once it works I will transfer it to a server.
Can it be done?
and once it works I will transfer it to a server.
Can it be done?
ASKER
And if so, how?
thanks again for replying
thanks again for replying
Of course it can be done on the server. The scripting is trivial in any commonly used server side scripting language.
Cd&
Cd&
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.