Click here to Skip to main content
15,922,007 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i'm finding difficulty in implementing a pdf comparison assignment. what i need to achieve is that i need to find out if the pdf exist in both folders. the number of pdf that i have is plenty. if no same pdf exist show a message. can this be done using javascript. please share if you have any reference
Posted
Comments
Mehdi Gholam 13-Jun-15 12:32pm    
Javascript in the browser or nodejs?
Rahul Ramakrishnan 14-Jun-15 6:26am    
in browser

1 solution

Browser won't allow you to deal with file systems with JavaScript due to security restrictions.

So, this is not possible. But you can always check if the file is present in a folder on server with a server side language.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900