如何使用输入文件或文件上传器将默认文件上传到服务器. [英] how to upload default file to server using input file or file uploader.
本文介绍了如何使用输入文件或文件上传器将默认文件上传到服务器.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想将默认文件从本地主机上传到服务器.如何为文件上传器或输入文件分配默认路径;< b></b>
I want to upload a default file to server from the local host. How to assign a default path to the file uploader or inputfile;<b></b>
推荐答案
以获取服务器上的保存位置
for the save location on the server
FileUpload.PostedFile.SaveAs(FolderSaveLocation + filename);
在客户端,这是不可能的.
On client side it is not possible.
这篇关于如何使用输入文件或文件上传器将默认文件上传到服务器.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文