FTP VS数据流 [英] FTP VS data stream
本文介绍了FTP VS数据流的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有2个应用程序,每个应用程序可以相互传输文件。文件大小可能约为2-5kb。应用程序已经通过套接字进行通信。我想知道通过FTP发送文件有什么好处吗?如果是这样,c#中有任何内置类来实现FTP服务器/客户端。或者我应该使用套接字使用我自己的协议发送文件
提前感谢
blockquote> FTP适用于文件传输,但如果文件传输是更大的通信方案的一部分,只需使用自己的套接字。
-Steve
Hi,
I have 2 applications where each one can transfer files to each other. The size of the file may be around 2-5kb. The applications are already communicating through sockets. i would like to know is there any advantage of sending the files through FTP? if so is there any inbuilt class in c# to implement FTP Server/Client. or shall i use sockets to send files using my own protocol
Thanks in advance
regards
Jeeva
解决方案
FTP is fine for file transfers, but if the file transfer is part of a larger communication scheme, just use your own sockets.
-Steve
这篇关于FTP VS数据流的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文