我想在树莓派上设置一个下载器以下载到我的 NAS (MyBookLive),因为我在 PI 上没有足够的空间。我不想将下载器安装到 MyBookLive 中,因为它已经耗尽了 CPU 和 MEM。
1.我已经通过 FTP 将 NAS 安装到 PI 上,如果您点击链接,可以找到说明。基本上我做了:
curlftpfs -o allow_other ftp-user:ftp-pass@my-ftp-location.local /mnt/entresol/Public
我能够来回复制文件/mnt/entresol/Public
:
cp README.md /mnt/antresol/Public/temp/
2.我已经安装aria2
并且可以将文件下载到 PI 目录:
aria2c -d ~/aria2c/ ~/aria2c.log https://github.com/ziahamza/webui-aria2/blob/master/README.md
但是当我尝试下载到 FTP 安装目录时:
aria2c -d /mnt/antresol/Public/ ~/aria2c.log https://github.com/ziahamza/webui-aria2/blob/master/README.md
我收到以下错误:
12/12 22:32:46 [ERROR] CUID#6 - Download aborted. URI=https://github.com/ziahamza/webui-aria2/blob/master/README.md
Exception: [AbstractCommand.cc:350] errorCode=16 URI=https://github.com/ziahamza/webui-aria2/blob/master/README.md
-> [AbstractDiskWriter.cc:222] errNum=95 errorCode=16 Failed to open the file /mnt/antresol/Public/temp/README.md, cause: Operation not supported
有任何想法吗?