镜像:访问失败:550从文件读取失败。 ($文件名)

时间:2019-10-31 04:44:08

标签: linux windows permissions lftp

我正在尝试使用以下命令,使用lftp从Windows将文件夹及其内容下载到ubuntu

#!/bin/bash
cmd=<way to identify the folder >

lftp -e " glob -d -- mirror -c $cmd; bye" -u <username>,<password> <remoteIP>

身份验证成功,我认为权限没有问题,因为 文件夹及其中的所有文件都具有读取权限

文件夹正在传输,但文件夹中的文件引发错误 镜像:访问失败:550从文件读取失败。 (文件名)

以下是父目录可用的权限:
drwxr-xr-x 1 ftp ftp 0 Oct 31 06:10 20191031_060510

及其内容
-r--r--r-- 1 ftp ftp 152 Oct 31 06:10 <Files>

我尝试将文件的权限更改为
-rw-r--r-- 1 ftp ftp 152 Oct 31 06:10 <Files>
还尝试使用mirror -p选项

0 个答案:

没有答案
相关问题