Open vclsystem opened 5 years ago
hi
Please update me
Thanks
Hi,
you can use the cmd.php that is located here <your-pydio>/cmd.php
and use the following command php cmd.php -u=<user> -p=<password> -r=<workspacename> -a=rename --file='/filename' --filename_new='/newfilename'
for your case it would look like this, php cmd.php -u=<user> -p=<password> -r=myfiles -a=rename --file='/file1.config' --filename_new='/file2.config'
hey,
you can also use this http request http://<pydio-uri>/api/<workspace id or alias>/rename/?file=/<targetedfile>&filename_new=<newname>
or
curl --insecure -u <username>:<password> -X POST 'https://<your-pydio>/api/<workspace id or alias>/rename/?file=/<targeted file>&filename_new=<new-name>'
Hi ,
We are using PYDIO File System V1 . how to rename the file or folder . I tried with below
https://pydio.com/api/myfiles/rename?file=file1.config&filename_new=file2.config
its not working .
Please help me on this.