【问题标题】:LFTP fails on fast changing directoriesLFTP 在快速更改目录时失败
【发布时间】:2021-09-02 23:48:01
【问题描述】:

LFTP 4.9.2(使用的库:Expat 2.2.6、Readline 7.0、zlib 1.2.11)

我正在尝试使用快速更改的缓存目录来镜像网站。 LFTP 总是失败: mirror: Access failed: 550 Can't change directory to cache-60cc55190313f589631026-tmp: No such file or directory (/web/wp-content/cache/comet-cache/cache-60cc55190313f589631026-tmp)

已禁用缓存,尝试跳过-无访问。没有什么帮助。有人可以建议吗?

lftp -u username,pass IP -p 21 -d -e 'set log:enabled yes; 
set log:file "lftp.log"; 
set cache:enable no; 
set cmd:verify-path-cached yes; 
set mirror:parallel-directories no; 
set ftp:ssl-allow no; 
set ssl:verify-certificate no; 
set ssl:check-hostname no; 
set ftp:prefer-epsv false; 
set ftp:list-options -a; 
set net:timeout 15; 
set net:max-retries 10; 
set net:reconnect-interval-base 5; 
set log:prefix-error "LFTP_ERROR"; 
set log:prefix-note "LFTP_NOTE"; 
set xfer:log 1; 
set xfer:log-file "transfer.log"; 
set ftps:initial-prot "P"; 
set ftp:passive-mode true; 
set -a; 
mirror --skip-noaccess --parallel=7 /dir/ /download; 
bye' 2>&1

全局配置文件中没有任何内容。

【问题讨论】:

    标签: ftp debian mirror lftp


    【解决方案1】:

    我遇到了同样的问题。
    只需交换这两个文件夹即可。
    之前:mirror --skip-noaccess --parallel=7 /dir/ /download;
    之后:mirror --skip-noaccess --parallel=7 /download /dir ;

    【讨论】:

    猜你喜欢
    • 2012-08-17
    • 1970-01-01
    • 1970-01-01
    • 2021-12-17
    • 1970-01-01
    • 1970-01-01
    • 2014-03-07
    • 2020-10-13
    • 2015-03-12
    相关资源
    最近更新 更多