javascript或jquery将pdf文件从一个文件夹移动到另一个文件夹[重复](javascript or jquery move pdf files from one folder to an

系统教程 行业动态 更新时间:2024-06-14 16:59:17
javascript或jquery将pdf文件从一个文件夹移动到另一个文件夹[重复](javascript or jquery move pdf files from one folder to another [duplicate])

这个问题在这里已有答案:

如何使用javascript或Jquery使用文件系统或操作? 2个答案

我有一个文件夹,每天收到15个不同的文件,每天名称不同。 每天唯一常见的事情是文件扩展名(所有文件的.pdf)。

我试图弄清楚如何使用javascript或jquery将以.pdf结尾的所有文件从一个文件夹移动到另一个文件夹。

如果可能的话,我更愿意使用其中一个选项来代替批处理文件或其他选项。

有没有人有什么建议?

谢谢!

This question already has an answer here:

How to use file system or operation using javascript or Jquery? 2 answers

I have a folder that receives 15 different files each day, with differences in the name each day. The only common thing each day is the file extension (.pdf for all files).

I'm trying to figure out how to use javascript or jquery to move all files ending in .pdf from one folder to another.

I'd prefer using one of these options if possible in lieu of a batch file or other option.

Does anyone have any suggestions?

Thanks!

最满意答案

您无法使用客户端Javascript或任何客户端javascript库(如Jquery)将文件从一个文件夹移动到另一个文件夹。 您需要使用服务器端编程语言。 如果您不想编写批处理脚本,则可能需要编写PHP程序或Java程序,或者基本上使用服务器端编程语言编写程序。

You cannot move a file from one folder to another using client-side Javascript, or any client-side javascript library such as Jquery. You need to use a server side programming language for that. If you don't want to write a batch script, you may want to write a PHP program or a Java program, or basically a program using server side programming language.

更多推荐

本文发布于:2023-04-16 14:34:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/dzcp/b16aac2f787561cdd806e976e1d9b430.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:文件夹   文件   jquery   pdf   javascript

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!