# Configuration of poldek external file getters. Each [fetcher] section 
# declares one external downloader. The syntax is:
# [fetcher]
# name  = NAME
# proto = PROTOCOL[ ,PROTOCOL... ]
# cmd   = CMD [OPTION...] DESTINATION-MACRO URL-MACRO
# Possible parameters are:
#
#[fetcher]
# Unique name of the fetcher. This is an optional parameter, if not set then 
# name is taken from the "cmd" parameter value as "$(basename $cmd)". 
#name = foo

# Protocol or protocols supported by fetcher. Name of the protocol can be 
# completely arbitrary, i.e. if you can handle protocol "foo" by writing
# a script which takes URLs in form 'foo://'. 
#proto = foo,bar

# Parameter specifies an external command and its invoking syntax.
# The syntax of "cmd" is:
# cmd = COMMAND [ OPTION... ] {%d,%D}  {%p,%P}[n]
# Where COMMAND is the name or full path of command, OPTION is command specific 
# options. Macro '%d' is replaced with cache directory, '%D' is replaced with 
# 'cache directory/file basename', and '%p' with file basename, %P with file full 
# path (URL).  Optional suffix 'n' with %p and %P means that command can be 
# invoked with multiple files at once.
#cmd = foogetter.sh -N %D %Pn

##Configured fetchers
[fetcher]
proto = cdrom 
cmd   = vfjuggle %d %Pn

[fetcher]
proto = http,ftp,https
cmd   = wget -N --dot-style=binary -P %d %Pn

[fetcher]
proto = http,ftp 
cmd   = snarf %P %D

[fetcher]
proto = https 
cmd   = curl %P -o %D

[fetcher]
proto = rsync
cmd   = rsync -v %P %d

[fetcher]
proto = smb
cmd   = vfsmb -v %P %d

#[fetcher]
#proto = ssh 
#cmd   = vfssh.sh %d %Pn

#[fetcher]
#proto = foo 
#cmd   = foo.sh %d %Pn
 
  
