General :: Synchronize Files With Ftp Server?
Jan 30, 2011what is the best way to synchronize files with ftp server
and I wnat to do this automaticlly
what is the best way to synchronize files with ftp server
and I wnat to do this automaticlly
Scenario: An IDE is set up on a Linux desktop box, editing PHP files locally. Every time I save a file, I want this change to appear on the linux server where Apache is running. The server has ssh (and samba and nfs for that matter).As a reference, when I edited files on Windows, I finally came over WinSCP as the exact tool I needed - WinSCP have just this feature present, with initial synch and then continuous update, using the filesystem watch service: "Keep Remote Directory up to Date".
On Linux, one could argue that sshfs could be employed to sidestep the need for synchronization entirely. On windows, a samba-share would do the same. However, I want the IDE to work with local files (on a SSD disk!), not having to go over the network to do PHP indexing and whatnots, which takes ages.But sshfs might be a part of the solution nevertheless - so that the continuous synchronization just needed to be done between two local directories.
How can I setup my Linux server to automatically synchronize its server clocks? We need to ensure our server clocks are set to the correct time always.
View 2 Replies View RelatedI am trying to synchronize the time of my VM server with ntpd. I have the following configuration. And in the /etc/ntp.conf, I have the following line:
restrict default ignore
restrict 127.0.0.1.
server time1.server
server time2.server
Whenever I have this line, the erver is not able to synchronize its time... So far as I understood, this line prevents other servers using this machine as a time server. And the second line says to allow localhost to use as time server. But why do I need to use its own time server when I have specified to use time1.server and time2.server ? ( firewall for tcp and udp ports 123 is open)
However, when I replace the first line of the configuration with the following line, it works. restrict default kod nomodify notrap noquery But with this, i am allowing other servers to use this server a ntp (which I wouldn't like to). Why this machine tries to use ntp server of its own (to snyc time) and why it is not working though i have the entry "restrict 127.0.0.1" ??
How will configure ntpd server? I tried to do it but I am used to get synchronize failed error.
View 2 Replies View RelatedI compiled the latest version of libgpod (0.7.3GIT) and gtkpod (0.99.15GIT) and loaded my ipod touch 3g. I can then drag and drop files to it, but when I try to synchronize, I get the error message Code: Please specify the command to be called on the 'Tools' section of the preferences dialog. Does anybody know what the command should be?
View 1 Replies View RelatedI'm trying to synchronize a client with an ntpdate server. The ntp.conf file from the server has the following lines: # /etc/ntp.conf, configuration for ntpd; see ntp.conf(5) for
driftfile /var/lib/ntp/ntp.drift
# Enable this if you want statistics to be logged.
#statsdir /var/log/ntpstats/
statistics loopstats peerstats clockstats
filegen loopstats file loopstats type day enable
[Code]...
I have installed the synckolab add-on in thunderbird to synchronize with my citadel server. The calendar and tasks in te server are synchronized to my client, but not the other way round, i.e. the changes in thunderbird are not written to citadel. Contacts get synchronized ok, in both directions.
Setup is:
Has anybody on this list set up a working synchronization of calendar and task items with synckolab?
I have made a backup of my files on a remote server and I'd like to maintain that backup using rsync. The problem is that the timestamps don't match perfectly between the source and the backup.
What can I do? I'd rather not replace all the files in my backup because there is so much data it would take a very very long time.
Is there perhaps a way to compare checksums and then update the timestamps? Both are low power boxes with no GUI and only BusyBox CLI access.
I have two computers with Ubuntu 10.10 on them, a desktop and a laptop. I have two options for handling them:
Try and keep them the same
Accept that they have different 'personalities' and branch off their on way
However, I've chosen the first option because I like to keep my files and settings the same on both computers. I am in the process of extracting a tar archive I made of my entire desktop's hard drive (9.7GiB) onto my laptop, so after this is done they will be exactly the same. However, upon turning the laptop on with my freshly-copied system, things will become different. If I take the laptop to school, for example, and do stuff there, then come back home, and do stuff on my desktop, how can I sync these computers (both ways!) with the new changes at the end of the day/week/whatever?
If uses SEM_UNDO flag,a ERANGE error will appear,if not,the process can't release resource.
View 1 Replies View Relatedhow to uncheck option to synchronize clock with UTC. This option is being asked at installation time. I couldn't remember text correctly but above text will give you hint. how can I uncheck that option using command.
View 4 Replies View RelatedI use Thunderbird in different computers so I configured it so that the datas are on an external drive. It works fine except that it seems that the contacts are still saved on the different computers and not on the external drive. It is strange since I have all datas for each profile on my external drive and all Mail and folders are there. I use different versions of Thunderbird (3.1 and under). how I could also have my contacts datas on my external drive?
View 2 Replies View RelatedI'd like to have a copy of a web site on my local drive. Then when I make changes to that copy, have those changes automatically updated on the site's server. Ideally I'd like to tell it to only do this for certain file types. Does anybody know of a way to do this with Linux?
View 2 Replies View RelatedI just installed antix. It asked for time zones and I set all of that up but it is 3hrs off. My computer clock is correct, why can't I just set up antix to recognize my computer clock? Or why doesn't it just use that as a default?
View 7 Replies View RelatedI want to run rsync on server A to copy all files from Server B when they are newer than 7 days.(find . -mtime -7) I don't want to delete the files on Server B.
View 2 Replies View RelatedI am trying to move uploaded file to another server using scp. following is the script i am using and error;
"mv.sh"
#!/bin/sh
now=$(date +"%y-%m-%d-%M")
[code]....
Before I could not even get to identify the Ipaq on the usb port.
Now, after blacklisting ipaq I got this:
Quote:
But still can't see it on the computer nor in media folder, what goes next? I also installed activesync trhough wine, but still no success on actively detecting the device.
On Ubuntu 10.10 x64, when trying to sync via right click "Ubuntu One/Synchroniser ce dossier" Synchronize to Ubuntu One, nothing happens. When within the "Documents" folder I select "Synchroniser ce dossier" Synchronize this folder from the upper right section of the window I get an error message: "Erreur lors de l'activation du dossier. Impossible d'activer la synchronisation du dossier /home/ao/Documents avec Ubuntu One"
ao@Ordi-AO-Ubuntu:~$ u1sdtool --list-folders
No folders
ao@Ordi-AO-Ubuntu:~$ u1sdtool -s
State: QUEUE_MANAGER
[Code]....
Within the Ubuntu One app, my computer is identified and connected.
I wanted to know, I it is possible to synchronize two systems. I�ve got one System on an ext. hard- drive, and one on a desktop computer. An example for better understanding:If I update on the ext. HD and I connect the ext. HD to the desktop, the desktop should be updated to. Or, when I create a new user on the desktop, and I connect the ext. hd, the user should get created to.Is this possible?
View 9 Replies View RelatedI have two folders on different linux machines and want to synchronize both. Please suggest to handle this issue.
View 1 Replies View RelatedI just bought a Nokia N900 and it's a beautiful device!
Naturally, since it runs Linux, it's unable to synchronize with other Linux devices. It's one of those wacky universal constants you can't seem to understand.
I've tried using SyncEvolution, which supports funambol, but it does not work. It keeps complaining about a failed authentication or whatnot.
When I right click a folder and select synchronize it does not sync. It continues to say synchronize on one. When I selected my music folder back in December it worked, but now it doesn't. It continues to work for the music folder and 1 other folder. I can't simply add my documents folder.How do I force one to sync my documents folder.
View 7 Replies View RelatedHow to sync notes to Dropbox, but after the upgrade to 11.04, I can't get Tomboy to sync.
I get the same error as here: [url]
Where the details panel is blank.
But I don't know what hidden file he's talking about. When I press ctrl+h in all the Tomboy folders, nothing comes out, but there are a few manifest.xml files.
I need to find a tool to keep two directories with exactly the same content. I want to start it manually.
I don't want a conventional backup tool for compressing my data files, I want to keep files in your normal form.
I know I could use "cp -R dirA dirB" but it don't remove dirA excluded files in dirB.
I was going to write a script for this, but I belive it there must be yet.
I have this problem on debian lenny so i have installed ntp. Is this a bug? I use openntpd on archlinux without problem.
View 5 Replies View RelatedI have 2 threads and both of them are deleting memory at the end nedded by both.
My problem is that maybe it can happen that a thread start and finish before the other one starts and so it deletes the memory nedded by the other thread. How can I synchronize them so that this can't happend.
As a design my threads look like this:
Code:
The other thread looks the same, but this isn't unoff to stop thread1 to finish before thread2 starts.
I used to use Unison to synchronize files between various Unix/Linux computers. I've an USB stick onto which i put files I've to keep with me (when I work outside home). When I get back home I'll like to synchronize with my laptop running Fedora 11. If the file is on the usb stick no problem, it gets copied onto my home directory and everything is fine.
But if the file has to go onto the stick, Unison complains it can't set the file's permission (of course, on a Vfat file system) and refuse to copy it. Question : Do you know a way to avoid setting irrelevant permissions on a file with Unison or an other utility of this kind ?
I have an OpenSuSE 11.1 web server. For some reason the time will not stay with what I set it to.I go into Personal Settings and adjust the date/time and no matter what it keeps defaulting back to december of 2007.This is a virtual machine sitting on VMware ESXi 3.5. I noticed that the time in the BIOS was also off by the same date. I adjusted it there and still the time is incorrect within the OS.As soon as I boot into the OS, it displays december of 2007. I check the BIOS again and it reverts back.
View 9 Replies View RelatedDue to recent releases of Ubuntu/Kubuntu/Mint/Mint KDE, I'm pretty near ready to take the plunge full time into Linux on my main desktop machine. Just one thing stopping me though at the moment... folder synchronization.
I have the following setup:
1) Desktop machine running Mint KDE or Gnome hard wired to a Netgear DG834GT router.
2) Archived files stored on a dedicated partition mounted as /home/lucas/archive.
3) Laptop running Windows 7 also hard wired to the router.
4) Shared folder on the Windows 7 laptop called "Archive" on a dedicated "Data" partition.
What I would like to do is synchronize the folder specified in 2 above to the shared folder specified in 4 above.
In Windows I use SyncBackPro to synchronize folders. Is there anything similar in Linux?