Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

core文件里的TASK_FILE_NAME计算有误 #88

Open
gexiaopeng opened this issue Nov 22, 2023 · 0 comments
Open

core文件里的TASK_FILE_NAME计算有误 #88

gexiaopeng opened this issue Nov 22, 2023 · 0 comments

Comments

@gexiaopeng
Copy link

如果下载的文件是有目录的,TASK_FILE_NAME计算不对。

比如aria2的下载根目录是/downloads, 有个文件的源路径是/temp/abc.zip , 115插件选择temp文件夹下载,那么:

FILE_PATH=/downloads/temp/abc.zip, DOWNLOAD_DIR=/downloads,RELATIVE_PATH=temp/abc.zip,TASK_FILE_NAME=temp,这样TASK_PATH=/downloads/temp 。当然,如果115插件下载的是文件,那不会错。

PS:为什么TASK_PATH不直接取FILE_PATH的值呢?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant