如何实现批量文件重命名Web应用程序。 [英] How to implement bulk file renaming web application.

查看:96
本文介绍了如何实现批量文件重命名Web应用程序。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用C#.net windows应用程序开发了批量重命名。但现在想要使用ASP.net开发Web应用程序。我没有得到如何将文件从服务器重命名为客户机目标文件夹。

I developed bulk renaming using C#.net windows application. but now want to develop using ASP.net web application. I am not getting how to renamed files from server to client machine destination folder.

推荐答案

你不能这样做。服务器端代码无法修改客户端。您必须编写一些可在客户端运行的代码。我认为你甚至不能通过JavaScript来实现它,因为浏览器会出于安全原因阻止它。您可能只想添加一个链接来下载您的Windows应用程序。
You cannot do this. Server side code cannot modify the client. You would have to write some sort of code that would run on the client side. I don't think you can even do it via JavaScript because the browser will block it for security reasons. You may just want to add a link to download your windows app instead.


这篇关于如何实现批量文件重命名Web应用程序。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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