Changes

Jump to: navigation, search

Sitecopy

1,109 bytes added, 09:29, 20 April 2020
no edit summary
{{languages|Sitecopy}}The easiest way to transfer you your Gramps html files is with this little a program called '''[http://www.manyfish.co.uk/sitecopy/ Sitecopy]'''
A program for managing a WWW site via FTP, DAV or HTTPsitecopy is for copying locally stored websites to remote ftp servers. With asingle command, the program will synchronize a set of local files to a remoteserver by performing uploads and remote deletes as required. The aim is toremove the hassle of uploading and deleting individual files using an FTPclient. sitecopy will also optionally try to spot files you move locally, andmove them remotely.
If you use Ubuntu you can get the program via ''Synaptic''. Curent version is 1:0:16.3-10 for Gutsy.
It is only 463 kBAfter installation in a directory '''/home/user/. It needs sitecopy''libc6' (where the relevant update information is stored) and a config script '' and '/home/user/.sitecopyrc'libneon''. But that should on a normal Linux distribution be ok(where the what and where is stored).
<code>mkdir ~/.sitecopy</code> and with your text editor do (I use gedit) <code>gedit ~/.sitecopyrc</code> Add the relevant info into '''.sitecopyrc'''*site name of your site e.g. mijnsite*server name of server e.g. users.skynet.be*protocol ftp*port 21*ftp nopasv*username put your username for the site here*password put your password for the server here*local the directory where you locally store your files e.g. /home/user/site*remote / the directory where you store your html pages on the server*exclude *~ all files that will not be transferred. This is important because otherwise '''all''' files will be put onto the server. There is also a GUI: xsitecopy, but no need to have those '''~''' on the server. Make sure you cannot use both togetherhave all the required rights. <code>chmod 700 ~/. I stick to [http:sitecopy</code><br /><code>chmod 600 ~/www.lyrasitecopyrc</code> There are lots of options, but the most important one is '''--update'''.org Simply do  <code>sitecopy -u mijnsite</sitecopy sitecopycode> Upload the local files to update the FTP (remote files will be overwritten). Other important options are*fetch*synchronize*list [[Category:Documentation]].

Navigation menu