本地网络上 ftp 的替代方案
您好,我有一个可处理 pdf 文件的文档管理程序,这些文件(近 150000 个文件)存储在 ftp 服务器(solaris 10)上。该程序在本地网络上运行。
我需要一种更快、更安全的 ftp 替代方案。
我的程序是用delphi 2010编写的
Hi I have a document managment program that works with pdf files and these files (nearly 150000 files) are stored on ftp server(solaris 10). the program works on local network.
I need an alternative to ftp that is faster and more secure.
My program is written in delphi 2010
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
FTP 几乎是您所能达到的最快速度。
安全和加密总是让你的速度低于现在。
替代方案很大程度上取决于您想要什么,因此您可能需要在以下之间进行考虑:
根据您的需求,甚至可以有更多选项可供选择。让您的问题更具体,我们可以放大选项。
根据我的经验,为了提高速度,网络协议并不是唯一的因素。
我通过以下方法将速度提高了几个数量级:
--jeroen
FTP is about as fast as you can get.
Security and encryption always make your speed less than it is now.
Alternatives highly depend on what you want, so you might want to consider between these:
Depending on your needs there can even be more options to choose from. Make your question more specific, and we can zoom in on the options.
In my experience, for gaining speed, the network protocol is not the only factor.
I have speed up things orders of magnitude by:
--jeroen
您可以比 FTP 更安全,但在本地网络上可能不值得这么麻烦。 FTP 的弱点是它的明文密码交换和未加密的文件传输。如果您仅在本地网络上使用它,则它仅容易受到本地网络上窃听者的攻击!用 SWITCH 替换你的 HUB,你就安全了(是的,我知道你不再有 HUB)。
寻找比 FTP 更快的解决方案也将是一个挑战。 FTP 通过网络发送文件时几乎没有每个文件的开销,并且计算量很小(因为它是普通传输,磁盘上的内容会通过网络原封不动地发送)。如果您需要更快的解决方案,您可能需要提供有关问题特殊性的更多详细信息。更快的解决方案不会成为通用解决方案(如 FTP、HTTP、SCP 等)。
在我看来,如果您有一个可用的 FTP 解决方案,并且它仅在本地网络上使用,请保留它;为什么要改变没有损坏的东西?本地网络上甚至还有更简单的 TFTP(简单 FTP)协议,例如我正在使用 TFTP 来启动和配置 VoIP 电话。
You can get more secure then FTP, but on a local network it might not be worth the trouble. FTP's weakness is it's clear text password exchange and unencrypted file transfer. If you're only using it on the local network, it's only vulnerable to people eavesdropping on the local network ! Replace your HUB's with SWITCH'es and you're safe (yes, I know you no longer have HUB's).
Finding a solution that's faster that FTP is also going to be a challenge. FTP has practically no per-file overhead for sending the file over the wire, and it's computationally trivial (because it's a plain transfer, what you have on disk is sent over the wire unchanged). If you need a faster solution you might need to give more details about the particularities of your problem. The faster solution is not going to be a general purpose solution (like FTP, HTTP, SCP are).
In my opinion, if you have a working solution with FTP, and it's only used on the local network, keep it; Why change something that ain't broken? There's a place for even the simpler TFTP (Trivial FTP) protocol on the local network, for example I'm using TFTP to boot up and configure VoIP phones.
安全复制文件...
scp
浮现在我的脑海中。请随意
man scp
或在此处阅读它的手册页 http://linux .die.net/man/1/scp另一种替代方法是,根据文件的大小,将它们作为 blob 或 clob 存储在数据库中。
Secure copying of files...
scp
comes to mind.Feel free to
man scp
or read it's man page here http://linux.die.net/man/1/scpAnother alternative would be, depending on the size of the files, to store them as blobs or clobs in a database.