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

copy api使用疑问 #6358

Open
4 tasks done
kabaka9527 opened this issue Apr 16, 2024 · 1 comment
Open
4 tasks done

copy api使用疑问 #6358

kabaka9527 opened this issue Apr 16, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@kabaka9527
Copy link

kabaka9527 commented Apr 16, 2024

Please make sure of the following things

  • I have read the documentation.
  • I'm sure there are no duplicate issues or discussions.
  • I'm sure this feature is not implemented.
  • I'm sure it's a reasonable and popular requirement.

Description of the feature / 需求描述

使用copy api复制文件夹内全部文件时,目标文件夹中会创建一个源文件夹名字的目录,并将源文件夹内的文件复制到这个目录中
假设如下
源目录: tmp 挂载本地目录/root/kkk
目标目录为: aaa
请求格式如下
curl --location --request POST 'http://test-cn.your-api-server.com/api/fs/copy' \ --header 'Authorization: {{alist_token}}' \ --header 'User-Agent: Apifox/1.0.0 (https://apifox.com)' \ --header 'Content-Type: application/json' \ --data-raw '{ "src_dir": "tmp", "dst_dir": "aaa", "names": [ "" ] }'
后台查看任务详情为
copy [/tmp]/server-release.jar to [/aaa]/kkk

能否直接实现

copy [/tmp]/server-release.jar to [/aaa]/

Suggested solution / 实现思路

No response

Additional context / 附件

No response

@kabaka9527 kabaka9527 added the enhancement New feature or request label Apr 16, 2024
Copy link

welcome bot commented Apr 16, 2024

Thanks for opening your first issue here! Be sure to follow the issue template!

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

No branches or pull requests

1 participant