从文件夹下载文件 [英] download document from folder

查看:96
本文介绍了从文件夹下载文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我正在从项目中的文件夹下载文件,并且正在运行脚本来显示表示页面加载的gif图像.问题是即使下载后脚本也没有终止.使用字符串bulider和html创建按钮.文档名称是一个标记,在单击事件中,将在脚本中调用一个函数以进行下载.请帮我..我正在使用C#

Hi
I am downloading files from a folder within my project and there is script running to show a gif image representing page load. The problem is even after download the script is not terminating.Am creating button using string bulider and html. The document name is a tag and in the click event a function is called in script to download. Pls help me out.. I am using C#

推荐答案

PowerShell 2.0可以做到.但是,据我所知,远程计算机上具有PowerShell应用程序,可以与Powershell进行通信.当然,您始终可以在使用WCF与之通信的远程计算机上拥有一个应用程序.参见 http://www.computerperformance.co.uk/powershell/powershell_remote.htm [ ^ ]
PowerShell 2.0 can do it. However, from what I believe I know, the remote machine has have the PowerShell app on it to communicate with the Powershell. Of course you can always have an app on the remote computer that you communicate with using WCF. See http://www.computerperformance.co.uk/powershell/powershell_remote.htm[^]


这篇关于从文件夹下载文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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