使用内部调制解调器在 2 个远程系统之间传输文件
我的要求是编写一个应用程序,使用内部调制解调器将文件从远程计算机发送到另一台计算机。 两个系统都通过 VPN 或互联网连接。
基本上,我们有两个系统都有内部拨号调制解调器。 这两个系统通过 VPN 或 Internet 连接。
一个系统应将文件 (XML) 发送到另一个系统。
我可以自由地使用 C++ 或 C# 进行此操作。 或者有其他语言可以轻松做到这一点吗?
我怎样才能完成这个任务? 我们是否需要客户端/服务器类型的应用程序,还是只需要接收端的应用程序?
是否有任何内置技术可用于使用调制解调器进行此类文件传输?
由于我没有编程的观点,我的问题可能不清楚! 我试图将最大信息放在我的要求上,但如果我不清楚,请问我。
My requirement is to write an application to send a file from a remote machine to another machine using internal modem. Both system are connected thru VPN or a internet.
Basically we have two systems both having internal dial up modems. The two systems are connected through either VPN or Internet.
One system should send a file (XML) to another.
I was given the freedom to do it in either C++ or C#. Or is there any other language we can do this easily?
How can I go about this task? Do we need an client/server type application or do we need an app only at the receiving end?
Is there any built in technology available for this type of file transfers using modems?
Since I don't have the programming point of view, my question may not be clear! I tried to put max information on my requirements, but if I am not clear, please ask me.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果您通过 VPN 连接,则有许多现有程序可用于在彼此之间传输文件。 最广为人知的是 FTP。 有许多免费可用的 FTP 或 SFTP 软件包。
您使用调制解调器这一事实并不重要。 只是它们位于同一网络中或在互联网上可见。
If you are connected via a VPN, then there are many existing programs available to transfer files between each other. The most well known is FTP. There are many freely available FTP or SFTP packages.
The fact that you are using a modem does not matter. Only that they are in the same network or visible on the internet.
已经有一段时间了,所以我的记忆已经模糊了:
那里有调制解调器库。 找到一个并使用它。 无需重新发明低级软件。 我似乎记得使用过 Dialogic 的产品(至少我认为是该公司)。 效果很好。 我快速搜索了一下,有 50 家公司使用该名称,但我确实看到一些公司提到了 C、C++ 和 C# 库。 如果您做一些研究,您就会找到您需要的东西。
您将需要了解如何启动调制解调器之间的通信。 几乎所有调制解调器都使用 Hayes 调制解调器 AT 命令集。
调制解调器速度很慢:因此在发送数据之前选择一种压缩算法。 zlib 是业界的最爱。
您选择的调制解调器库应该提供多种机制来执行您所询问的纯数据传输。 选择最适合您的数据的一项。
It's been a while, so my memory is fuzzy:
There are modem libraries out there. Find one and use it. No need to reinvent the low level software. I seem to remember using a product from Dialogic (At least I think that was the company). It worked well. I did a quick search and there are 50 companies with that name, but I did see some that mention C, C++ and C# librariers. If you do a little research you'll find what you need.
You will need to learn how to initiate communications between the modems. Almost all modems use the Hayes Modem AT Command Set.
Modems are slow: So pick a compression algorithm before sending data. zlib is an industry favorite.
Your modem library of choice should provide several mechanisms for doing the pure data transfer that you are asking about. Choose the one that fits your data best.