如何查明文件夹中的pdf文件是否存在于另一个文件夹中 [英] how to find out if a pdf file in a folder exist in another

查看:102
本文介绍了如何查明文件夹中的pdf文件是否存在于另一个文件夹中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我发现实施pdf比较分配有困难。我需要实现的是,我需要找出两个文件夹中是否存在pdf。我拥有的pdf数量很多。如果没有相同的pdf存在显示消息。这可以使用javascript完成。如果您有任何参考,请分享

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

推荐答案

由于安全限制,浏览器不允许您使用JavaScript处理文件系统。



所以,这是不可能的。但是,您始终可以检查文件是否存在于服务器端语言的服务器上。
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.


这篇关于如何查明文件夹中的pdf文件是否存在于另一个文件夹中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆