浏览文件夹并将文件保存在网页中 [英] browse folders and save the file in a web page

查看:86
本文介绍了浏览文件夹并将文件保存在网页中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

我打算将文件保存到客户端计算机中.我可以设法保存一个文件(从服务器获取并保存用户的本地计算机),但是我希望用户决定他可以在哪里保存文件.到目前为止,我所做的是提供目标位置(客户文件夹)和源位置(ftp服务器和文件夹,文件的确切名称,位置)并保存文件.

我在ASP中听到了fileuploader,但是我不知道如何只选择客户端文件夹?我不希望他选择一个文件,只需要一个文件夹和一个保存按钮.

非常感谢您.希望我能澄清我的问题.

========================

我无法使用文件对话框,因为这是网页而不是Windows窗体应用程序.有人说fileuploder可以用于文件浏览器.这可能吗?非常感谢

Hello,

I am tyring to save a file into the client''s computer. I can manage to save a file ( get from the server and save the local machine of the user) But I want user to decide where he can save it. What I have done until now is giving the destination place (clients folder) and source place ( ftp server and the folders, files exact name, place )and save the file.

I heard fileuploader in ASP but I cannot figure out how I only choose the folder to client? I dont want him to choose a file, only folder is needed and a save button also.

Thanks a lot in advanced. I hope I can make my question clear.

==========================

I cannot use file dialog box because this is a web page not windows form application. Some people said fileuploder can be used a file browser. Is this possible? Thanks a lot

推荐答案

您不能使用FolderBrowserDialog类吗?


这篇关于浏览文件夹并将文件保存在网页中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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