Home » Developing U++ » UppHub » Added FSMon - FileSystem Monitor class
Re: Added FSMon - FileSystem Monitor class [message #36212 is a reply to message #36206] |
Sat, 12 May 2012 14:33 |
mdelfede
Messages: 1307 Registered: September 2007
|
Ultimate Contributor |
|
|
Added another fancy, more useful example : FSMonSync package.
It realizes a trivial path syncronization mechanics; the demo creates a couple of folders in user home folder, which are
/home/user/FSMonTest_A
/home/user/FSMonTest_B
on Linux, and
c:\windows\profiles\users\user\FSMonTest_A
c:\windows\profiles\users\user\FSMonTest_B
or
c:\documents and settings\user\FSMonTest_A
c:\documents and settings\user\FSMonTest_A
on Windows (well, I guess, it depends on win version... anyways the log windows will show you both).
Wathever you do on first folder (FSMonTest_A) gets duplicated on second one (FSMonTest_B), even in subfolders, in real-time.
The app is quite trivial, don't do any security checks nor optimizations, but works and allows, for example, to have a real-time backup of your data on an external disk.
The very base for an "UCloud" app ?
Ciao
Max
|
|
|
Goto Forum:
Current Time: Fri Apr 26 19:45:48 CEST 2024
Total time taken to generate the page: 0.01729 seconds
|