FTP Web请求.NET 1.1框架中的问题 [英] Problem in FTP Web Request .NET 1.1 Framwork
本文介绍了FTP Web请求.NET 1.1框架中的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
亲爱的所有人,
我想开发一个使用C#.Net 1.1框架将文件从源计算机复制到定义ftp服务器的应用程序.
但是我无法在应用程序中使用FtpWebRequest函数.
我该如何解决这个问题?
请尽快帮助我.
问候,
Shawon Mahmud博士
Dear all,
I want to develop an application that copy a file into define ftp server from source computer by using C# .Net 1.1 framwork.
But i can''t use FtpWebRequest function in my application.
How can i solve this problem?
Please help me soon.
Regards,
Md. Shawon Mahmud
推荐答案
请参阅我对问题的评论.
此处解释了此类的使用: http://msdn.microsoft.com/en -us/library/system.net.ftpwebrequest.aspx [ http://msdn.microsoft.com/en-us/library/system.net. webrequest.aspx [ ^ ].
问题是:.NET Framework 2.0中甚至说明了帮助-查看其他版本". 1.1版真的不见了.我希望我引用的代码示例仍然适用.
恐怕这还不足以使您的开发得以生存.如果您不能负担得起较新的Visual Studio(.NET Framework是可自由重新分发的,它包括C#,VB.NET编译器,MSBuild,这是开发所需要的全部),请听一个好建议,无论如何都要忘记v.1.1并考虑以下事项选项:
- 使用Visual Studio Express;它是免费的,请参阅:
http://en.wikipedia.org/wiki/Visual_studio_express [ ^ ],
http://www.microsoft.com/express/Windows/ [http://en.wikipedia.org/wiki/SharpDevelop [ ^ ],
http://sharpdevelop.com/ [ ^ ].- 在没有IDE的情况下手动开发.NET应用程序:- ).
我知道,这听起来很吓人,但我做到了.这对于深入了解事物很有好处.免费分发的安装中包含您真正需要开发的所有内容,请参见上文.
Please see my comments to the question.
The use of this class is explained here: http://msdn.microsoft.com/en-us/library/system.net.ftpwebrequest.aspx[^].
The code sample, however, could be found on the MSDN page explainingSystem.Net.WebRequest
:
http://msdn.microsoft.com/en-us/library/system.net.webrequest.aspx[^].
The problem is: even the help is stated — look at "Other versions" — from .NET Framework 2.0. The version 1.1 is really gone. I hope the code sample I references is still mostly applicable.
I''m afraid this is still not enough for your development to survive. If you cannot afford newer Visual Studio (.NET Framework is freely re-distributable, it includes C#, VB.NET compiler, MSBuild — all you need for development), listen to a good advice, forget v.1.1 anyway and consider the following options:
- Use Visual Studio Express; it is free of charge, please see:
http://en.wikipedia.org/wiki/Visual_studio_express[^],
http://www.microsoft.com/express/Windows/[^].- Use Open-Source SharpDevelop instead of Visual Studio, please see:
http://en.wikipedia.org/wiki/SharpDevelop[^],
http://sharpdevelop.com/[^].- Develop .NET applications manually, without IDE :-).
I know, it sounds scary, but I did it. This is good for deep understanding of thing. Everything you really need for development is included in the freely redistributed installation, see above.
这篇关于FTP Web请求.NET 1.1框架中的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文