通过javascript读取文件属性..... [英] reading file attributes through javascript.....

查看:83
本文介绍了通过javascript读取文件属性.....的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用javascript函数从excel文件中提取数据并对其进行处理。我想知道如何提取文件路径,创建日期,修改日期,存储在文件属性中的作者信息。它是否有可能在javascript?

PDF文档是否支持相同?

谢谢


Chamy07

Hi,

 i am using javascript function which extracts data from excel file and processes it . I wanted to know how to extract the file path, created date, modified date, author information stored in the file attributes. is it possible in javascript?

Do PDF documents supports the same?

Thanks


Chamy07

推荐答案

嗨Chamy07,

Hi Chamy07,

据我所知,到目前为止,出于某些安全目的,JavaScript的
代码不允许访问本地文件系统中的任何文件,因此,我们
无法从Excel文件中提取数据并处理它,也不能处理PDF
文档。

As far as I know, until now, for some security purposes, JavaScript’s code is not allowed to access any files in the local file system, therefore, we cannot extract data from an Excel file and process it, neither the PDF document.

有关JavaScript的更多问题,请参阅
ASP.Net官方论坛。

For any more issues about JavaScript, please refer to the ASP.Net official forums.

http://forums.asp.net/

问候,

Xun


这篇关于通过javascript读取文件属性.....的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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