FTP客户端视觉工作室 [英] FTP client visual studio

查看:57
本文介绍了FTP客户端视觉工作室的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我正在寻找一个FTP客户端的工作源代码。

我想改编它依次下载我网站上的所有文件。



我尝试了很多不同的例子,似乎无法找到一个用Visual Studio打开而不需要转换的文件仍然有效。



有人会碰巧知道哪些可能是最近的/没有问题吗?



非常感谢任何帮助。



我尝试过:



我尝试了很多来自不同网站的不同示例,但都需要转换/似乎无法正常工作或打开。

解决方案

.NET BCL已提供FTP客户端 - 辅助设施 System.Net.FtpWebRequest

FtpWebRequest Class(System.Net) [ ^ ] 。



您将找到足够的代码示例,以便清楚了解如何使用它。如果您仍然无法理解它,请理解另一件事:人们在这个级别编写库,因为这个级别对于大多数能够实际使用编程来解决问题的用户来说是最有意义的。把时间浪费在别人身上是没有意义的;他们应该使用一些可用的FTP客户端,可能还有UI。如果你想用它作为开发人员无法理解,你应该学习编程练习一些更简单的问题。但我希望你能搞清楚。



-SA


WinSCP有一个.NET您可以在项目中使用的程序集和COM库。您只需将DLL和可执行文件部署为部件安装。我们已经在几个不同的项目中使用它并且没有问题。



WinSCP .NET程序集和COM库:: WinSCP [ ^ ]

Hi all,

I am looking for a working source code for a FTP Client.
I would like to adapt it to download all the files in my website in turn.

I have tried lots of different examples and cant seem to find one that will open with Visual Studio without needing conversion and one that still works.

Would anyone happen to know which might be the most recent / without issues?

Any help is greatly appreciated.

What I have tried:

I have tried lots of different examples from different sites but all need converting / dont seem to work or open correctly.

解决方案

.NET BCL already offers an FTP client-side facility System.Net.FtpWebRequest:
FtpWebRequest Class (System.Net)[^].

You will find enough code samples to get a clear idea on how to use it. If you still cannot understand it, understand another thing: people write the library at this level, because this level makes the most sense for most users who can actually use programming for solving their problems. There is little sense to waste time on other people; they should rather use some available FTP client, possibly with UI. If you want to use it as a developer by cannot understand how, you should rather learn programming practicing on some simpler problems. But I hope you can figure it out.

—SA


WinSCP has a .NET assembly and COM library that you can use in your projects. You just have to deploy the DLL and Executable as part installation. We've used it in a couple of different projects and had no problems with it.

WinSCP .NET Assembly and COM Library :: WinSCP[^]


这篇关于FTP客户端视觉工作室的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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