Skip to content

Commit 4e79c48

Browse files
Updated for V1.4 - added forcedelete option
1 parent f781554 commit 4e79c48

2 files changed

Lines changed: 20 additions & 0 deletions

File tree

ftpmirror/docs/ftpmirror.pdf

2.14 KB
Binary file not shown.

ftpmirror/docs/ftpmirror.tex

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,16 @@ \section{Running FTPMirror}
6969
You can also run the program with a \verb|-quiet| flag to suppress all
7070
output about progress of what files are being downloaded or removed.
7171

72+
As of V1.4 (19.05.14), the default behaviour is not to delete any
73+
local files if more than 50\% of files have gone away on the remote
74+
compared with the current local copy. This is designed to prevent
75+
problems with the connection dropping while getting the remote
76+
directory listing. The \verb|-forcedelete| option overrides this behaviour
77+
for all mirrors and deletes the files anyway. You can also use
78+
\verb|forcedelete| option in the config file for an individual mirror
79+
if you know it is very dynamic and often deletes a lot of files.
80+
81+
7282
\section{The configuration file}
7383
The configuration file consists of lines with two compulsory fields
7484
(the source and destination) and optional fields containing flags as
@@ -119,6 +129,16 @@ \section{The configuration file}
119129
A value of 0 will keep trying indefinitely.
120130
\item[noclean] do not clean up local files that have gone away on the
121131
remote machine
132+
\item[forcedelete] As of V1.4 (19.05.14), the default behaviour is not
133+
to delete any local files if more than 50\% of
134+
files have gone away on the remote compared with
135+
the current local copy. This is designed to prevent
136+
problems with the connection dropping while getting
137+
the remote directory listing. The forcedelete
138+
option overrides this behaviour and deletes the
139+
files anyway. You can also use \verb|-forcedelete|
140+
on the command line to achieve the same thing for
141+
all mirrors.
122142
\item[fast] just checks if files have appeared/disappeared rather than
123143
checking the date-stamps on the files. This means
124144
that if the content of a file has changed, that will

0 commit comments

Comments
 (0)