如何在C#Web应用程序中自动上传文件 [英] how to upload file automatically in c# web application
问题描述
我正在开发用于医学领域的C#Web应用程序.在这种情况下,用户可以通过offilne软件生成某种文件(即计费文件),并且希望将这些文件自动上传到服务器.但是他不想使用常规的文件上传系统.即浏览文件,然后选择特定文件,然后单击以上传按钮.由于用户每天大约生成500多个文件,因此他希望将其自动上传到服务器上.他会将所有文件保存在特定的文件夹中,例如"c:\ Uploadfile".那么Web应用程序应自动从该文件夹中读取文件,并将其上传到服务器上.
非常紧急,请指导我
在此先感谢
i am developing a web application in c# for medical field. in which user generates some kind of file[its a billing files] from his offilne software , and he wants to upload those files automatically to server. but he do not want to use a regular file upload system . i.e brows for file then select a specific file and then click to upload button. since the user generates around more than 500 files a day, so he want it automatically uploaded on server. he will keep all files in a specific folder say "c:\Uploadfile". then the web application should automatically read the files from this folder and upload it on server.
its very urgent please guide me
thanks in advance
推荐答案
SSIS(SQL Server集成服务)是解决您问题的最佳解决方案.不错的教程位于: http ://blog.sqlauthority.com/2011/05/12/sql-server-import-csv-file-into-database-table-using-ssis/ [
SSIS (Sql Server Integration Service) is the best solution for your problem. Nice tutorial is available at: http://blog.sqlauthority.com/2011/05/12/sql-server-import-csv-file-into-database-table-using-ssis/[^]
这篇关于如何在C#Web应用程序中自动上传文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!