文件通过互联网同步到远程服务器 [英] File sync to remote server over the internet

查看:95
本文介绍了文件通过互联网同步到远程服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello All!

我需要创建一个客户端,将一些用户本地文件夹同步到远程服务器,但我不能使用dropbox或已创建的任何其他客户端,我需要根据我公司的需要自行实现功能。

您对我应该使用什么有什么看法?我看过MS Sync Framework,但我还没有找到任何人通过互联网使用它。

任何关于这个主题的想法都将非常感激!



继续编码!

解决方案

有很多工具可以帮到你,我认为没有必要自己开发。如果您仍想自己创建,我将使用文件系统观察程序跟踪某个目录中的更改并保留内存中的更改列表。定期发送更改文件(例如使用FTP)。



到目前为止我找到的一些工具:

http://sourceforge.net/projects/freefilesync/ [ ^ ]

http:// www。 csync.org/ [ ^ ]





我最近一直在使用一个名为SyncBack的程序,这很好!!

[/ Edit]

为此,我总是在ssh上使用rsync。这是一个linux工具集,但你可以在windows上安装cygwin,然后你就拥有了相同的工具。



这样做的一个优点就是你可以轻松连接unix /使用此工具的mac / windows机器。 ssh是广泛使用且值得信赖的安全协议。


我理解你在说什么,我看到了一遍又一遍地完成这项工作的其他工具的相同答案,但这是一个具体的组织传播与这些工具不会涵盖的特定需求,使用将是相同的,同步文件,但有一些核心的变化,这些工具不会涵盖。



感谢您的建议,我会更多地了解您的建议!


Hello All!
I need to create a client that will sync some of the users local folders to a remote server but i can't use dropbox or any other client already created, i need to make my own to implement features according to my company needs.
What are your opinions about what should i use? I have looked on MS Sync Framework but i still haven't found anyone using it over the internet.
Any ideas about this topic will be very appreciated!

Keep coding!

解决方案

There are a lot of tools available that can do that for you, I think there's no need to develop this yourself. If you still want to make this yourself I'd use a File System Watcher to track changes in a certain directory and keep a list of changes in memory. The periodically send the changes files (for example using FTP) over the line.

Some tools I found so far :
http://sourceforge.net/projects/freefilesync/[^]
http://www.csync.org/[^]

[Edit]
I've recently been using a program called SyncBack, it's good!!
[/Edit]


I always used rsync over ssh for this purpose. It's a linux toolset but you can install for example cygwin on windows and then you have the very same tools.

An advantage of this is that you can easily connect unix/mac/windows machines with this tool. ssh is widely used and trusted secure protocol.


I understand what you're saying and i see the same answer about other tools already doing the job over and over again, but this is for a specific organization spread with specific needs that those tools wont cover, the use will be the same, syncing files but there are some core changes that are needed and those tools wont cover.

Thank you for your advice and i will look more about what you suggested!


这篇关于文件通过互联网同步到远程服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆