[RAS] mirroring RePEc:per fails

Thomas Krichel krichel at openlib.org
Sat Oct 3 15:46:01 UTC 2020


adrepec at aigtu:~/opt/var/remi$ ~/perl/mirror4remi.pl mirror_a_per
package=per all.repec.org:21/pub/RePEc/per -> /home/adrepec/RePEc/remo/per 
Cannot get remote directory listing because: 500 Illegal PORT command.
Cannot get remote directory details (/pub/RePEc/per)

  Here is the mirror file as generated by remi

package=per
        # our hostname
        hostname=nep.repec.org
        # the site we wish to mirror from
        site=all.repec.org
        remote_dir=/pub/RePEc/per
        # Keep all local_dirs relative to here
        local_dir=/home/adrepec/RePEc/remo/per
        # get this
        get_patt=
        # but not directories starting with underscore (Frontpage)
        exclude_patt=^_.+/|/_vti_.+/
        remote_password=krichel at openlib.org
        # Don't mirror file modes.  Set all dirs/files to these
        dir_mode=0755
        file_mode=0644
        # By defaults files are owned by root.zero
        do_deletes=true
        # some more defaults
        max_delete_files=100%
        max_delete_dirs=100%
        timeout=300
        # this is needed with sites that do not support recursive directory listings
        # slows down things a little bit
        recurse_hard=true
        # security fix
        name_mappings=s:\.\./:__/:g


-- 

  Cheers,

  Thomas Krichel                  http://openlib.org/home/krichel
                                              skype:thomaskrichel



More information about the RAS-run mailing list