.NET Core中的FTP客户端 [英] FTP client in .NET Core

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

问题描述

我可以使用 netcoreapp1.0 通过FTP协议下载文件/列表文件吗?

Can I download file / list files via FTP protocol using netcoreapp1.0?

我知道,我可以使用 FtpWebRequest FluentFTP (如果我针对完整的 .net45 框架).

I know, I can use FtpWebRequest or FluentFTP if I target full .net45 framework.

但是,我的解决方案全部基于.NET Standard 1.6,我不想仅拥有FTP就支持完整的框架.

My solution, however, is all based on .NET Standard 1.6 and I don't want to support full framework just to have FTP.

推荐答案

FtpWebRequest 现在包含在 .NET Standard 2.0

FluentFTP库也与最新的.net标准2.0兼容

FluentFTP library is also compatible with latest .net standard 2.0

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

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