使用c#将文件上传到Web服务器/主机?

问题描述:

大家好,我真的很喜欢这个。我一直在搜索和尝试一整天,但没有任何帮助。

我想在我的网络服务器上传文件!

但我无法理解。我在c编程#

请帮助我!

hi everyone, im really stuck with this one. i have been searching and trying the whole day but nothing helped.
i want to upload a file on my web server !
but i can''t figure it out. i''m programming in c#
please help me !

我不知道为什么你面临如此大的困难搜索。一个简单的谷歌搜索给了我这些:



上传ASP.NET 2.0中的文件 [ ^ ]



使用ASP.NET上传文件 [ ^ ]



希望它有所帮助:)
I don''t know why you are facing so much difficulty in search. A simple google search gives me these:

Uploading Files in ASP.NET 2.0[^]

File Upload with ASP.NET[^]

hope it helps :)


如果您已经创建了一个窗口形式的应用程序和你想上传一个文件,你可以使用ftp管理器,如:CuteFTP,Filezilla,TurboFTP,SmartFTP等。但如果你使用visual studio制作Asp网站或Asp应用程序或任何其他web应用程序,那么你可以发布(上传)你的网站和文件:

1-在Visual Studio中右键单击您的网站或Web应用程序名称。

2-左键单击发布。

3-选择发布方法。

4-输入您的服务器地址和凭据。

5-发布您的网站。
If you have made a window form application and you want to upload a file, you can use ftp managers such as: CuteFTP, Filezilla, TurboFTP, SmartFTP, etc. But If you make Asp website or Asp application or any other web application with visual studio then you can publish (upload) your website and files:
1- Right click on your website or web application name in Visual Studio.
2- Left click on "Publish".
3- Choose publish method.
4- Enter your server address and credentials.
5- Publish your website.


使用它当前准备上传到22文件主机的WebScrapper,它已经为你分析了它。如果您在WebScrapper软件包中找不到所需的文件主机,则可以通过分析文件主机的HTML来创建自己的语法



http://sorainnosia.com/Home/Article/WEBSCRAPPER [ ^ ]
Use WebScrapper it currently ready to upload to 22 File host and it already analyzed it for you. If you don''t find the file host you want in the WebScrapper package, you can create your own syntax by analyzing the file host''s HTML

http://sorainnosia.com/Home/Article/WEBSCRAPPER[^]