Welcome Guest ( Log In | Register )



 
Reply to this topicStart new topic
> Synchronization Software, Please express some ideas
FirefoxRocks
post Nov 13 2007, 11:43 PM
Post #1


Super Member
Group Icon

Group: [HOSTED]
Posts: 660
Joined: 12-July 06
From: Ontario, Canada
Member No.: 14,464



I am working on a project with files at different locations, some duplicates. I want it to be synchronized to the newest version available (most recent version) at most places, here are where my files are scattered across:

1. FAT32 partition
Read by Linux and Windows, I do most of my file editing from home on this partition. It is accessible at home only.

2. USB Flash Drive
For editing at school, I edit the files on this drive.

3. Server (at Astahost)
This is accessed using File Manager at home and at school. I can upload files conveniently here from home (see next point). The files are for testing purposes of PHP, they are publicly viewable as a preview of what is going to be on the live server.

4. Live Server (at school)
Accessed by Telnet, this server can only be accessed at school computers. A firewall (both on the Linux server and also the general firewall) prevents any connection to it from other locations. I use FTP to upload files there, it is where the site is publicly viewable.

So obviously it is going to be hard to synchronize and keep track of the different version of files here. #3 is always going to be a bit newer than #4, because that's what I call a "beta preview". The files on #2 may be a bit older than #1. I want them to be synchronized to the newest versions.

Anything to help me do this without manually checking every Date Modified field manually?
Go to the top of the page
 
+Quote Post
Jimmy89
post Nov 14 2007, 11:49 AM
Post #2


Living at the Datacenter
Group Icon

Group: [HOSTED]
Posts: 696
Joined: 30-June 06
From: Australia
Member No.: 14,219



the simple solution would be to work on the files (at home or school) and then when you are finished upload them to the server (then the server and usb/home partition will be the same as the server version). then when the 'beta' preview is ready to go, upload it to the live server.
Go to the top of the page
 
+Quote Post
ethergeek
post Nov 14 2007, 08:22 PM
Post #3


Premium Member
Group Icon

Group: [HOSTED]
Posts: 393
Joined: 9-March 07
From: Tucson, AZ
Member No.: 20,794



Look at the the xcopy command on windows. It can do conditional copies based on file modification date, as well as copy over unc paths.
Go to the top of the page
 
+Quote Post
FirefoxRocks
post Dec 9 2007, 05:34 AM
Post #4


Super Member
Group Icon

Group: [HOSTED]
Posts: 660
Joined: 12-July 06
From: Ontario, Canada
Member No.: 14,464



I am actually avoiding using the BETA server now and doing most of my editing on the USB flash drive.

Does anyone know how to run XAMPP that can act as a server, but does not allow inbound connections on port 80? Or basically I need PHP commands to execute when I open them in the browser.
Go to the top of the page
 
+Quote Post
wutske
post Dec 13 2007, 10:33 PM
Post #5


Way Out Of Control - You need a life :)
Group Icon

Group: [HOSTED]
Posts: 1,025
Joined: 2-August 05
From: Kapellen (Antwerp, Belgium)
Member No.: 7,585



You could use SyncToy to sync the data between #1 and #2 . It's a bit crappy sometimes, but it always does a good synchronisation. It checks the modified date stamp and if you want it can also check the file content for changes (some programs have the habbit of changing the modified data stamp when they open a file rolleyes.gif ).

For #3, if you use FileZilla to upload your data, you can set it to only upload a file if it's newer.

Number #4; since you probably don't access it too often and probably contains only outdated data I'd say you just copy everything to it from time to time smile.gif .


About XAMMP, check the httpd.conf file.
Using the line
CODE
Listen 80

you can change the port on which the server listens.

I don't know if this works, but maybe if you change
CODE
ServerName 192.168.10.1:80

to
CODE
ServerName 127.0.0.1:80


then the server might only work on your computer.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Good Software For Series 60(4)
  2. Pirated Software: Legalised For $1/Copy In Indonesia(26)
  3. Updating Pirated Software(14)
  4. Post Your Funniest Software Errors!(4)
  5. What Is Your Most Used Software?(53)
  6. Need To Find A Good Image Catalog Software(6)
  7. Which Wiki Software Do You Use?(9)
  8. Free Commercial Software, Legally!(14)
  9. What Is The Most Used Software(2)
  10. Speak To Text(5)
  11. Gallery Software(5)
  12. Acer Arcade Software(12)
  13. Bluetooth Software(3)


 



- Lo-Fi Version Time is now: 8th September 2008 - 06:51 AM