Most site zipscripts support.. surprisingly.. zips. Heh. Does yours? If not. I'll add this ability and email it to you so can update your copy. Okay? :)
On 11/4/05, Tillmann Steinbrecher <[EMAIL PROTECTED]> wrote:
Hi,
thanks Alexander for this cool "complete-script" feature. I have written
an alternative to the supplied perl script; my script supports sfv files
only and has a few additional features, to make it behave like a ftpd
zipscript (jzs, project-zs, iobanana, ...), or some other ftp clients
like UltraFXP and FTPRush.
The script has the following features:
- Generating *-MISSING files as soon as an SFV file is downloaded; the
*-MISSING files will be removed progressively as the related file gets
downloaded
- Rename files that fail sfv check to filename.bad
- Progress indicator subdir. In the downloaded dir with SFV, a subdir in
the form [3 of 10]-[lftp] (while downloading) or [COMPLETE]-[lftp] will
be created. This way, you can see the progress of your download just by
listing the dir (useful e.g. when lftp is in the background, or if
you're leeching to a dir that is also downloadable via ftp, etc).
Here is the script:
http://www.t-st.org/lftp-verify-sfv.gz
Installation instructions:
ungz and chmod +x the file
Then in lftp:
set xfer:verify true
set xfer:verify-command /path/to/lftp-verify-sfv
(Put last 2 commands in ~/.lftp/rc for permanent activation)
Bugs? Maybe; I've tested it with many dirs but all of a similar
kind :-O. Please email me if you find bugs. For now the script is quite
small (no mp3 genre info in complete-dir yet, for example); hardly worth
copyrighting but I put it under the GNU GPL, so it can be
distributed/included with other software.
bye,
Till
--
Tillmann Steinbrecher <[EMAIL PROTECTED]>
