使用“云”在同一应用程序的用户之间传输文件贮存
我正在构建一个 WPF 应用程序,需要与其他用户交换一些非常小的 xml 文件。我目前正在研究对等网络,但我需要文件的发送者能够在接收者也不在线的情况下发送。我不想自己托管服务,我希望用户将与他们本地交互的其他用户存储在他们的计算机上,例如仅使用名称和 GUID 或电子邮件地址来识别他们。
你们对如何解决这个问题有什么建议吗?我的一厢情愿是如果有一种免费或廉价的服务,用户可以通过我的程序连接到公共 API 并上传他们的文件。当接收者用户登录时,它将检查服务并以某种方式进行身份验证,并下载 XML 文件,以便程序可以导入它。
我使用 IMAP 库制定了一个解决方案,其中 XML 文件附加在电子邮件中并发送到接收者的电子邮件帐户。接收器上的程序检查电子邮件并阅读附件。这工作正常,但不是很流畅,而且还填满了用户收件箱并发送了垃圾邮件。
非常感谢任何建议。
此致 奥拉
I am building an WPF app that need to exchange some very small xml files with other users. I'm currently looking into peer2peer networking, but I need the sender of the files to be able to send without the receiver being online also. I do not want to host a service myself, and I want the users to store the other users they interact with locally on their machine, for example just a name together with a GUID or email adress to identify them.
Do you guys have any suggestions on how to solve this? My wishful thinking would be if there was a free or cheap service where users could connect via my program to a public API and upload their files. And when the receiver user logs on, it would check the service and authenticate somehow, and download the XML files so it could be imported by the program.
I have made a solution with a IMAP library where the XML files are attached in the email and sent to the receivers email account. The program on the receiver checks the email and read the attachment. This works ok, but is not very slick and also filling up the users inbox and sent items with garbage..
Any suggestions is greatly appreciated.
Best regards
Ola
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是一个想法:
通常,块存储卷被视为附加到虚拟机的额外“驱动器”。然后您就可以使用它,就像它是一个隐喻的“USB 闪存键”一样,您可以与其他人共享。
其上要共享的数据
所有这些都可以通过网络界面完成,您无需执行任何网络步骤。
您现在所需要的只是一个有能力的云极客、一壶咖啡和一些令人信服的东西。
This is one idea:
Normally, Block Storage volumes are seen as extra 'Drives' that you attach to a Virtual Machine. You could then use this but as if it was a metaphorical 'USB flashkey' that you would share with the other person.
data-to-be-shared on it
All this could be done through a web interface and you wouldn't have to do any networking steps.
All you need now is a capable Cloud Geek, a pot of coffee and some convincing.