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

Missing 'src' on Paste command #2439

Closed
actorius opened this issue Mar 26, 2018 · 1 comment
Closed

Missing 'src' on Paste command #2439

actorius opened this issue Mar 26, 2018 · 1 comment
Assignees

Comments

@actorius
Copy link

Then trying paste copied file between folders i get error Invalid parameters for command "src".

Headers:

cmd:paste
dst:v1_TWVkaWE1
targets[]:v1_XDI0LjAzLjIwMTgg0KHQv9Cw0YDRgtCw0LrQuNCw0LTQsCBjb3B5XDI0LjAzINCh0L_QsNGA0YLQsNC60LjQsNC00LAgY29weS5tcDQ1
cut:0
suffix:~
_:1522044619457

Response:
{"error":["errCmdParams","src"]}

ElFinder Client:
Version: 2.1.33, protocol version: 2.0
jQuery/jQuery UI: 3.3.1/1.12.1

@nao-pon
Copy link
Member

nao-pon commented Mar 26, 2018

@actorius Since API 2.0 also includes directory information in target, the src parameter is not necessary. However, the description of the wiki page seems to be wrong. In order to maintain compatibility, I also add src parameters for 2.0 connectors.

Thanks!

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

No branches or pull requests

2 participants