.netcore中的FTP客户端 [英] FTP client in .netcore
本文介绍了.netcore中的FTP客户端的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我可以通过FTP协议使用 netcoreapp1.0 下载文件/列表文件吗?我知道,我可以使用 FtpWebRequest 或 FluentFTP 如果我的目标是完整的 .net45 框架。
然而,我的解决方案都基于.net标准1.6,我不想仅仅为了支持FTP而支持完整框架。
解决方案
netcoreapp1.0或netstandard1.6没有开箱即用的FTP功能。 FtpWebRequest
将在netstandard2.0中返回。
Can I download file / list files via FTP protocol using netcoreapp1.0?
I know, I can use FtpWebRequest or FluentFTP if I target full .net45 framework.
My solution, however, is all based on .net standard 1.6 and I don't want to support full framework just to have FTP.
解决方案
There are no FTP capabilities out-of-the-box for netcoreapp1.0 or netstandard1.6. FtpWebRequest
will return in netstandard2.0.
这篇关于.netcore中的FTP客户端的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文